エリス
1f70d396da
chore: more license header updates ( #1909 )
...
* chore: update license headers again
- CSS, Gradle, Java, JS, TS: Formatted doc block style to use "/*" instead of "/**"
- HTML: Move license header below DOCTYPE
- Add missing license header
- Cleanup rat ignore
* chore: format cordova-js-src license headers
2026-03-28 12:42:26 +09:00
エリス
d426e0ffe1
chore: license, license headers & CI & draft workflow improvements ( #1891 )
2026-02-24 15:37:57 +09:00
エリス
9f5518000f
refactor: prefix node:* ( #1769 )
...
* refactor: prefix node:* to path
* refactor: prefix node:* to os
* refactor: prefix node:* to fs
* refactor: prefix node:* to util
2025-01-28 12:13:36 +09:00
エリス
7da13ccf77
feat: add listTarget api ( #1602 )
...
* feat: add listTarget api
* test: write Platform API target list specs
2023-05-08 22:27:17 +09:00
エリス
a2bb7f1173
chore(npm): bump @cordova/eslint-config@^4.0.0 ( #1421 )
...
* chore(npm): bump @cordova/eslint-config@^4.0.0
* style(lint): apply auto corrections
* style(lint): convert hasAndroidHome var to let and hoisted
2022-04-18 10:39:54 +09:00
Raphael von der Grün
16ff6e1b2f
refactor!: do not copy JS lib to platform project ( #1269 )
2021-07-13 11:01:50 +02:00
Raphael von der Grün
335b0f2575
test: fix unit test failures for certain random orders ( #1094 )
...
* test(Api): do not clobber global events.emit w/ spy
* test(Api): remove unnecessary rewiring
* test(check_reqs): add missing spyOn call
* test(check_reqs): fix process.env restoration
* test(check_reqs): restore module under test before each test
2020-10-19 10:38:37 +02:00
Raphael von der Grün
b1f01d7a65
test: ensure single top-level describe block in test file ( #1094 )
...
This makes it easier to map test output to files and allows for common
setup & teardown of all tests in a file.
* test(prepare): wrap in top-level describe block
* test(Api): wrap in top-level describe block
2020-10-19 10:01:09 +02:00
Raphael von der Grün
ba5781c3bf
refactor: save ProjectBuilder instance in Api instance ( #1016 )
...
This reduces dependence on the `builders` module and reduces repitition.
This also facilitates another WIP refactoring I am working on.
2020-07-03 18:54:24 +02:00
エリス
0e6ad28e56
chore: drop q module ( #833 )
...
* chore: drop q module
* chore: fix & complete dropping q
* Fix faulty transformation of Q.when
* Simplify thenResolve transformation
* Removes unnecesary Promise wrapping in onFulfilled callback.
* Transform .done calls to .then or .catch
* The important thing is that we always handle rejections.
* Remove Q from specs
Requires Jasmine 3.5
* Replace Q.timeout w/ Promise.race & custom function
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com >
2020-01-07 21:22:59 +09:00
Raphael von der Grün
ad742ec93c
Simplify and fix promise handling in specs ( #787 )
2019-07-17 14:56:36 +02:00
Gearoid M
0bf0e48698
Prevent Api.js tests from polluting the reporter output
2018-06-22 10:02:31 +09:00
Audrey So
ac4ac935f6
CB-12895 : added .eslintrc files to set up jasmine environment
2017-06-23 08:07:08 -07:00
Audrey So
d83d49d83b
CB-12895 : fixed eslint errors
2017-06-23 08:07:08 -07:00
audreyso
3fc4daa447
CB-12018 : updated tests to work with jasmine (promise matcher tests commented out for now)
2017-01-11 17:07:17 -08:00
Joe Bowser
1af5ade39a
Adding isClean to the spec, this really should have failed a few commits ago
...
This closes #349
2016-12-05 15:32:18 -08:00
Alexander Sorokin
5db2de95f5
CB-11964 Call clean after plugin install and mock it in tests
2016-10-07 18:14:36 -07:00
Vladimir Kotikov
d351e316bf
CB-11138 Reuse PluginManager from common to add/rm plugins
...
This closes #301
2016-04-29 15:07:05 +03:00
Vladimir Kotikov
8ab75e7109
CB-10729 Move plugin handlers tests for into platform's repo
2016-03-01 11:31:14 +03:00