Skip to content

Commit 42e19ee

Browse files
committed
Migrade node tests to scenarios
Update dependencies in smoke test node template ope Move build-info-test back to tests/node/ build-info-test tests build infrastructure (broccoli/build-info), not node support. It can't run as a smoke test because broccoli/ is not in the published package's files list. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Restore commented-out code in overrides-test.js Keeps the PR diff minimal by not removing comments that were already present in the original file. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> update eslint
1 parent 2dea726 commit 42e19ee

19 files changed

Lines changed: 89 additions & 4 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',

pnpm-lock.yaml

Lines changed: 18 additions & 0 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.

tests/node/helpers/load-ember.js renamed to smoke-tests/node-template/tests/node/helpers/load-ember.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const path = require('path');
2-
const distPath = path.join(__dirname, '../../../dist');
2+
3+
const emberSourceRoot = path.dirname(require.resolve('ember-source/package.json'));
4+
const distPath = path.join(emberSourceRoot, 'dist');
35
const emberPath = path.join(distPath, 'ember.debug.js');
46
const templateCompilerPath = path.join(distPath, 'ember-template-compiler');
57

0 commit comments

Comments
 (0)