I am getting a very frustrating error when running my qunit test suite. Script error.@ 15 ms Source: :0 Expected 2 assertions, but 3 were run@ 46 ms Source:
at testWrapper (http://localhost:4200/assets/test-support.js:6400:11) at test (http://localhost:4200/assets/test-support.js:6413:39) at Module.callback (http://localhost:4200/assets/tests.js:2751:24) at Module.exports (http://localhost:4200/assets/vendor.js:70:34) at Module.build (http://localhost:4200/assets/vendor.js:120:10) at findModule (http://localhost:4200/assets/vendor.js:168:9) at requireModule (http://localhost:4200/assets/vendor.js:155:12)
This error occurs randomly on one test and only one test every time the test suite is run. Additionally, it fails with the same error message on different test every time. I am on the latest release of qunit and the ember-cli. When the failure happens, the number of tests run is always one greater than the number of assertions.
Any help is greatly appreciated!
Aucun commentaire:
Enregistrer un commentaire