-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to run tests: unsupported module was defined #677
Comments
CI: Disable `yarn test` command for `embroider` job We are running into a similar issue to what is described at embroider-build/embroider#677. We currently allow the CI step to fail, but since it waits until it times out it keeps the PRs in "running" state for an unnecessarily long time. This PR is changing the CI to only build, but not run the tests, with embroider to avoid the above issue. Once embroider-build/embroider#677 is addressed we can revert this change again. r? `@locks`
The UMD wrapping that was used by es6-promise was causing issues in certain contexts (see embroider-build/embroider#677). This moves from es6-promise to the same promise polyfill that is used by qunit@2.14.0 and higher (promise-polyfill@8.2.0 with some tweaks).
The UMD wrapping that was used by es6-promise was causing issues in certain contexts (see embroider-build/embroider#677). This moves from es6-promise to the same promise polyfill that is used by qunit@2.14.0 and higher (promise-polyfill@8.2.0 with some tweaks).
Looks like I have a very similar issue in this PR: The weird thing is:
Here is an example of build failure log:
|
This is due to #731 (comment) You can use embroider's skipBabel: [
{
package: 'qunit',
},
], |
I'm getting a similar error but I have tried the Here is the error: https://github.com/mansona/ember-cli-notifications/pull/308/checks?check_run_id=2332566153#step:5:80 and here is where we added the Am I missing something? 🤔 |
In @mansona case, |
This fixes the issue outlined in embroider-build/embroider#677
This fixes the issue outlined in embroider-build/embroider#677
This fixes the issue outlined in embroider-build/embroider#677
I pulled my hairs out because of this, as everything was working fine locally, but only failing in CI. Turned out I forgot (once again) that you would need to set I think we need to prevent this experience from happening for other users:
|
@simonihmig - Ya, I think we should make the addon blueprint do the same as the app blueprint |
es6-promise is also effected by this |
not sure what exactly solved this, but it appears to work fine now for crates.io |
looks like embroider-build/embroider#677 has been fixed
looks like embroider-build/embroider#677 has been fixed
mainmatter/qunit-dom#970 is trying to update the embroider dependency in qunit-dom, but it fails with the above error and
ember test
ultimately timing out.The stack trace of the error is pointing to emberjs/ember-test-helpers#958 being the problem. It looks like the
es6-promise
import there is not working correctly.Note that this only happens in combination with the new ember-qunit v5 setup. With ember-qunit v4 this is not an issue because the test-helpers PR above was only added in v2.x, which is not used by ember-qunit v4.
/cc @rwjblue @ef4
The text was updated successfully, but these errors were encountered: