ember-testem 0.7.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -7,11 +7,7 @@ _Backward- and forward-compatible testing for Ember projects_
|
|
|
7
7
|
|
|
8
8
|
Until now, testing Ember apps and addons required `ember-cli`, a monolith package that is written in JavaScript and has less relevance in v2 apps and v2 addons. Production projects may be at risk because tools like `ember-exam` and `@percy/ember` are built on `ember-cli`.
|
|
9
9
|
|
|
10
|
-
`ember-testem`
|
|
11
|
-
|
|
12
|
-
- The fix is minimal, backward-, and forward-compatible (apps with strict resolver, apps without `ember-cli`).
|
|
13
|
-
- We can keep using `qunit` and `testem`. No need to switch to another test framework and rewrite tests.
|
|
14
|
-
- It works with battle-tested packages like `@embroider/try`, `@percy/ember`, `ember-a11y-testing`, `ember-qunit`, `ember-test-selectors`, `miragejs`, and `qunit-dom`.
|
|
10
|
+
`ember-testem` is a CLI that allows you to keep running tests with `qunit` and `testem`.
|
|
15
11
|
|
|
16
12
|
|
|
17
13
|
## Quickstart
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export function getQueryParams(options) {
|
|
2
2
|
const { qunit } = options;
|
|
3
3
|
const params = [];
|
|
4
|
-
if (qunit.module) {
|
|
5
|
-
params.push(`module=${qunit.module}`);
|
|
6
|
-
}
|
|
7
4
|
if (qunit.filter) {
|
|
8
5
|
params.push(`filter=${qunit.filter}`);
|
|
9
6
|
}
|
|
7
|
+
if (qunit.module) {
|
|
8
|
+
params.push(`module=${qunit.module}`);
|
|
9
|
+
}
|
|
10
10
|
if (qunit.seed) {
|
|
11
11
|
params.push(`seed=${qunit.seed}`);
|
|
12
12
|
}
|
|
13
|
-
return params.join('&');
|
|
13
|
+
return params.sort().join('&');
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-testem",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Backward- and forward-compatible testing for Ember projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"yargs": "^18.2.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@codemod-utils/tests": "^3.
|
|
33
|
+
"@codemod-utils/tests": "^3.5.0",
|
|
34
34
|
"@shared-configs/eslint-config-node": "0.0.0",
|
|
35
35
|
"@shared-configs/prettier": "0.0.0",
|
|
36
36
|
"@shared-configs/typescript": "0.0.0",
|
|
37
37
|
"@types/node": "^22.20.5",
|
|
38
38
|
"@types/sinon": "^22.0.2",
|
|
39
39
|
"@types/yargs": "^17.0.35",
|
|
40
|
-
"concurrently": "^10.0.
|
|
41
|
-
"eslint": "^10.
|
|
42
|
-
"prettier": "^3.
|
|
40
|
+
"concurrently": "^10.0.7",
|
|
41
|
+
"eslint": "^10.15.0",
|
|
42
|
+
"prettier": "^3.10.1",
|
|
43
43
|
"sinon": "^22.1.0",
|
|
44
44
|
"typescript": "^6.0.3"
|
|
45
45
|
},
|