ember-testem 0.3.3 → 0.4.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
@@ -11,7 +11,7 @@ _Backward- and forward-compatible testing for Ember projects_
11
11
  pnpm add -D ember-testem
12
12
  ```
13
13
 
14
- 2\. Configure `testem` in `testem.mjs`.
14
+ 2\. Configure `testem` in `testem.{mjs,mts}`.
15
15
 
16
16
  ```js
17
17
  export default {
@@ -19,7 +19,7 @@ export default {
19
19
  Chrome: {
20
20
  ci: [
21
21
  // --no-sandbox is needed when running Chrome inside a container
22
- process.env.CI ? '--no-sandbox' : null,
22
+ process.env['CI'] ? '--no-sandbox' : null,
23
23
  '--headless',
24
24
  '--disable-dev-shm-usage',
25
25
  '--disable-software-rasterizer',
@@ -218,12 +218,12 @@ ember-test --port 0
218
218
  >
219
219
  > `ember-testem` provides a limited API on purpose.
220
220
  >
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).
221
+ > For `ember-cli` options like `--host`, `--launch`, `--query`, `--reporter`, `--ssl`, `--ssl-cert`, `--ssl-key`, `--test-page`, `--testem-debug`), [configure `testem` in `testem.{mjs,mts}` instead](https://github.com/ember-cli/ember-cli/blob/v7.3.0-ember-cli/lib/tasks/test.js#L54-L71).
222
222
 
223
223
 
224
224
  ## Compatibility
225
225
 
226
- - Node.js v22 or above
226
+ - Node.js v22.17 or above
227
227
 
228
228
 
229
229
  ## Contributing
@@ -17,7 +17,7 @@ export async function runTestsInDev(options) {
17
17
  });
18
18
  const watcher = watch([buildPath], {
19
19
  awaitWriteFinish: true,
20
- usePolling: true,
20
+ backend: 'polling',
21
21
  });
22
22
  watcher.on('change', () => {
23
23
  testemInstance.restart();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-testem",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "Backward- and forward-compatible testing for Ember projects",
5
5
  "keywords": [
6
6
  "ci",
@@ -25,8 +25,8 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "chokidar": "^5.0.0",
29
- "testem": "^3.21.3",
28
+ "chokidar": "^6.0.0",
29
+ "testem": "^4.0.0-beta.1",
30
30
  "yargs": "^18.2.0"
31
31
  },
32
32
  "devDependencies": {
@@ -42,7 +42,7 @@
42
42
  "typescript": "^6.0.3"
43
43
  },
44
44
  "engines": {
45
- "node": "22.* || >= 24"
45
+ "node": "^22.17.0 || >= 24"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "sh build.sh --production",