Skip to content

Migrate node tests to scenarios#21147

Merged
NullVoxPopuli merged 2 commits intomainfrom
nvp/migrate-node-tests-to-scenarios
Mar 4, 2026
Merged

Migrate node tests to scenarios#21147
NullVoxPopuli merged 2 commits intomainfrom
nvp/migrate-node-tests-to-scenarios

Conversation

@NullVoxPopuli
Copy link
Contributor

This allows us to:

@NullVoxPopuli NullVoxPopuli changed the title Migrade node tests to scenarios Migrate node tests to scenarios Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

📊 Package size report   -0%↓

File Before (Size / Brotli) After (Size / Brotli)
Total (Includes all files) 17.3 MB / 3.2 MB -0%↓17.3 MB / 0%↑3.2 MB
Tarball size 3.9 MB -0%↓3.9 MB

🤖 This report was automatically generated by pkg-size-action

@NullVoxPopuli NullVoxPopuli force-pushed the nvp/migrate-node-tests-to-scenarios branch from eff8636 to f8106ef Compare March 4, 2026 03:42
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review March 4, 2026 03:48
"scripts": {
"test:node": "qunit tests/node/**/*-test.js"
},
"dependencies": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can any deps move out of the main package.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and then linked via scenario? or?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thought there might be test-only deps able to be moved into this package.json from the root

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see -- i'll check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found 2

@@ -244,6 +245,7 @@ export default [
'**/babel.test.config.mjs',
'node-tests/**/*.js',
'tests/node/**/*.js',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prob the tests/node lines can drop?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a utils test (the buildinfo) still in there --- it tests are infra rather than the behavior of ember-source, so I guess it still makes sense to have there -- your earlier gut feeling was good

kategengler
kategengler previously approved these changes Mar 4, 2026
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
@NullVoxPopuli NullVoxPopuli force-pushed the nvp/migrate-node-tests-to-scenarios branch from 0e58601 to 29a1320 Compare March 4, 2026 04:03
@NullVoxPopuli NullVoxPopuli merged commit 8b683fe into main Mar 4, 2026
32 checks passed
@NullVoxPopuli NullVoxPopuli deleted the nvp/migrate-node-tests-to-scenarios branch March 4, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants