Skip to content

Commit 8b683fe

Browse files
Merge pull request #21147 from emberjs/nvp/migrate-node-tests-to-scenarios
Migrate node tests to scenarios
2 parents 1d19a83 + 29a1320 commit 8b683fe

20 files changed

Lines changed: 90 additions & 13 deletions

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ export default [
215215
'**/babel.test.config.mjs',
216216
'node-tests/**/*.js',
217217
'tests/node/**/*.js',
218+
'smoke-tests/node-template/**/*.js',
218219
'blueprints/**/*.js',
219220
'bin/**/*.js',
220221
'bin/**/*.mjs',
@@ -244,6 +245,7 @@ export default [
244245
'**/babel.test.config.mjs',
245246
'node-tests/**/*.js',
246247
'tests/node/**/*.js',
248+
'smoke-tests/node-template/**/*.js',
247249
'blueprints/**/*.js',
248250
'bin/**/*.js',
249251
'bin/**/*.mjs',

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133
"github": "^0.2.3",
134134
"glob": "^8.0.3",
135135
"globals": "^16.0.0",
136-
"html-differ": "^1.4.0",
137136
"kill-port-process": "^3.2.1",
138137
"mocha": "^10.2.0",
139138
"node-gzip": "^1.1.2",
@@ -144,7 +143,6 @@
144143
"resolve.exports": "^2.0.3",
145144
"rollup": "^4.57.1",
146145
"rsvp": "^4.8.5",
147-
"simple-dom": "^1.4.0",
148146
"table": "^6.9.0",
149147
"terser": "^5.42.0",
150148
"testem": "^3.10.1",
@@ -390,4 +388,4 @@
390388
}
391389
},
392390
"packageManager": "pnpm@10.30.3"
393-
}
391+
}

pnpm-lock.yaml

Lines changed: 18 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "ember-test-node-template",
3+
"version": "0.0.0",
4+
"private": true,
5+
"description": "Node-focused smoke test template for ember-source",
6+
"scripts": {
7+
"test:node": "qunit tests/node/**/*-test.js"
8+
},
9+
"dependencies": {
10+
"git-repo-info": "^2.1.1",
11+
"html-differ": "^1.4.0",
12+
"qunit": "^2.20.1",
13+
"semver": "^7.6.0",
14+
"simple-dom": "^1.4.0"
15+
}
16+
}

tests/node/app-boot-test.js renamed to smoke-tests/node-template/tests/node/app-boot-test.js

File renamed without changes.

tests/node/component-rendering-test.js renamed to smoke-tests/node-template/tests/node/component-rendering-test.js

File renamed without changes.

tests/node/fastboot-sandbox-test.js renamed to smoke-tests/node-template/tests/node/fastboot-sandbox-test.js

File renamed without changes.

tests/node/fixtures/project.js renamed to smoke-tests/node-template/tests/node/fixtures/project.js

File renamed without changes.

tests/node/helpers/assert-html-matches.js renamed to smoke-tests/node-template/tests/node/helpers/assert-html-matches.js

File renamed without changes.

tests/node/helpers/build-owner.js renamed to smoke-tests/node-template/tests/node/helpers/build-owner.js

File renamed without changes.

0 commit comments

Comments
 (0)