Skip to content

Conversation

@NullVoxPopuli
Copy link
Contributor

@NullVoxPopuliNullVoxPopuli commented Jun 25, 2025

followup to: #64

Key changes:

  • tell vitest to not forward its env to our invoked ember-cli / test commands
  • add babel-plugin-debug-macros for @glimmer/env for DEBUG support (only for the dev/test babel.config)
  • in the tests/index.html, enable the embroider-macros sync of isTesting via importing @embroider/macros/src/vendor/embroider-macros-test-support

"c8": "^7.11.3",
"ember-cli": "github:ember-cli/ember-cli#master",
"execa": "^9.5.2",
"execa": "^9.6.0",
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

could be PR'd separately

addonDir=join(tmpDir,addonName);
awaitexeca({
cwd: tmpDir,
extendEnv: false,
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

extendEnv is noise in this PR without an accompanying env:{} to set the env to empty

@mkszepp
Copy link
Contributor

Would be nice to get this PR

In ember-basic-dropdown i have isTesting() in use, which isn't working right now without adding a workaround in test-helpers start() function

@NullVoxPopuliNullVoxPopuliforce-pushed the nvp/add-build-mode-tests branch from 8a895fd to da5827fCompareDecember 23, 2025 21:28
@NullVoxPopuliNullVoxPopuli changed the title Add build mode testsAdd build mode tests (ensuring isDevelopingApp and isTesting are appropriately true when they need to be (as well as assert-stripping))Dec 23, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@NullVoxPopuli@mkszepp