Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Bumping to 1.1.0 stops tests from running #95

Closed
oliverwilkie opened this issue Dec 15, 2015 · 11 comments
Closed

Bumping to 1.1.0 stops tests from running #95

oliverwilkie opened this issue Dec 15, 2015 · 11 comments

Comments

@oliverwilkie
Copy link

Ember CLI version: 1.13.13

Bumping from 1.0.5 to 1.1.0 stops my tests from running with the following output

I made sure I deleted ember-qunit

Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html i
ncludes "assets/tests.js". at http://localhost:7357/assets/vendor.js, line 16471
Error: Could not find module `ember-qunit` imported from `dispatcher/tests/test-helper` a
t http://localhost:7357/assets/vendor.js, line 144

Let me know what else I can provide.

@oliverwilkie oliverwilkie changed the title Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html i ncludes "assets/tests.js". at http://localhost:7357/assets/vendor.js, line 16471 Error: Could not find module ember-qunit imported from dispatcher/tests/test-helper a t http://localhost:7357/assets/vendor.js, line 144 Bumping to 1.1.0 stops tests from running Dec 15, 2015
@rwjblue
Copy link
Member

rwjblue commented Dec 15, 2015

Can you create an empty repo that demonstrates the issue? I'd love to dig in, and a reproduction will be very helpful...

@oliverwilkie
Copy link
Author

Of course, here it is [https://github.com/oliverwilkie/dispatcher] .I basically just did an ember init and then copied my test files and package.json and bower.json over

@oliverwilkie
Copy link
Author

Check that out and then run ember test --server using Ember CLI 1.13.13 and you should get the same message

@rwjblue
Copy link
Member

rwjblue commented Dec 15, 2015

Awesome, thank you! Will try to look soon.

@stefanpenner
Copy link
Contributor

Of course, here it is [https://github.com/oliverwilkie/dispatcher] .I basically just did an ember init and then copied my test files and package.json and bower.json over

@oliverwilkie this app is crashing by default, because it does not have a fully installed ember-cli-mirage. Please be sure your reproduction is for the issue you have.

@stefanpenner
Copy link
Contributor

Error: Could not find module ember-qunit imported from dispatcher/tests/test-helper a
t http://localhost:7357/assets/vendor.js, line 144

this error appears to be a side-affect of another error, scrolling up we see.
screen shot 2016-01-04 at 9 04 38 am

Which indicates someone is trying to require without a name, which will clearly fail.

@stefanpenner
Copy link
Contributor

@duboff something in your vendor.js is crashing, likely do to syntax error or some other runtime error. Please investigate that thoroughly If you cannot figure it out, please open a new discrete issue with a reproduction.

@duboff
Copy link

duboff commented Jan 4, 2016

Yeah, I figured our issue is different but cannot reproduce it now. Probably one of the other addons

@stefanpenner
Copy link
Contributor

@oliverwilkie source of the issue appears to be something in ember-cli-mock-socket without it, everything seems to work correctly.

This does not appear to be an ember-cli issue, rather something funky with an upstream dependency. Unfortunately we do not have the capacity to consider what appears to be a bug in a non-default package addon. If it turns out something is wrong in ember-cli we can reopen.

@stefanpenner
Copy link
Contributor

My quick guess is that an upgraded mock-socket would fix it. as it appears to have relevant changes since the version bundled with ember-cli-mock-socket was released.

@oliverwilkie
Copy link
Author

Thanks for looking into it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants