ember-testem 0.3.0 → 0.3.2
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 +9 -28
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -95,9 +95,9 @@ See [my-v1-app](../../tests/my-v1-app) for an example.
|
|
|
95
95
|
|
|
96
96
|
<summary>V2 addons</summary>
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
In general, I recommend creating a test app as a separate package (using workspaces). This way, you can separate dependencies for source code and testing (avoid past issues with v1 addons). You would set up `ember-testem` by following the steps for v2 apps.
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
If you still want to create the test app in the same package, you will need to install and configure additional dependencies. See [my-v2-addon](../../tests/my-v2-addon) for an example.
|
|
101
101
|
|
|
102
102
|
```json
|
|
103
103
|
{
|
|
@@ -108,32 +108,13 @@ For brevity, additional file changes aren't shown below. For example, you will n
|
|
|
108
108
|
}
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
/* vite.test.config.mts */
|
|
113
|
-
import { extensions, ember } from '@embroider/vite';
|
|
114
|
-
import { babel } from '@rollup/plugin-babel';
|
|
115
|
-
import { defineConfig } from 'vite';
|
|
111
|
+
Files that need changes:
|
|
116
112
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
tests: 'tests/index.html',
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
sourcemap: true,
|
|
126
|
-
},
|
|
127
|
-
plugins: [
|
|
128
|
-
ember(),
|
|
129
|
-
babel({
|
|
130
|
-
babelHelpers: 'inline',
|
|
131
|
-
extensions,
|
|
132
|
-
parallel: true,
|
|
133
|
-
}),
|
|
134
|
-
],
|
|
135
|
-
});
|
|
136
|
-
```
|
|
113
|
+
- Babel (`babel.config.mjs`, `babel.build.config.mjs`)
|
|
114
|
+
- Dependencies (`package.json`)
|
|
115
|
+
- Rollup (`rollup.config.mjs`)
|
|
116
|
+
- TypeScript (`tsconfig.json`, `tsconfig.build.json`)
|
|
117
|
+
- Vite (`vite.test.config.mts`)
|
|
137
118
|
|
|
138
119
|
</details>
|
|
139
120
|
|
|
@@ -237,7 +218,7 @@ ember-test --port 0
|
|
|
237
218
|
>
|
|
238
219
|
> `ember-testem` provides a limited API on purpose.
|
|
239
220
|
>
|
|
240
|
-
> For `ember-cli` options like `--host`, `--launch`, `--reporter`, `--ssl`, `--ssl-cert`, `--ssl-key`, `--test-page`, `--testem-debug`), [configure `testem` in `testem.mjs` instead](https://github.com/ember-cli/ember-cli/blob/v7.3.0-ember-cli/lib/tasks/test.js#L54-L71).
|
|
221
|
+
> For `ember-cli` options like `--host`, `--launch`, `--query`, `--reporter`, `--ssl`, `--ssl-cert`, `--ssl-key`, `--test-page`, `--testem-debug`), [configure `testem` in `testem.mjs` instead](https://github.com/ember-cli/ember-cli/blob/v7.3.0-ember-cli/lib/tasks/test.js#L54-L71).
|
|
241
222
|
|
|
242
223
|
|
|
243
224
|
## Compatibility
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-testem",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Backward- and forward-compatible testing for Ember projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"chokidar": "^5.0.0",
|
|
29
|
-
"testem": "^3.21.
|
|
29
|
+
"testem": "^3.21.3",
|
|
30
30
|
"yargs": "^18.2.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@types/node": "^22.20.4",
|
|
38
38
|
"@types/yargs": "^17.0.35",
|
|
39
39
|
"concurrently": "^10.0.5",
|
|
40
|
-
"eslint": "^10.
|
|
40
|
+
"eslint": "^10.12.0",
|
|
41
41
|
"prettier": "^3.9.9",
|
|
42
42
|
"typescript": "^6.0.3"
|
|
43
43
|
},
|