Running Tests causes 'ReferenceError: Can't find variable: moduleLoaderFinish'
Closed this issue · 4 comments
I installed by running ember install:addon ember-cli-blanket
.
I am running ember-cli v0.2.1 with ember-cli-mocha v0.5.0. When I start the tests I get the error
✘ ReferenceError: Can't find variable: moduleLoaderFinish (http://localhost:7357/assets/test-lo ader.js:105)
The error is being thrown from assets/start.js:56
which is the following snippet
runner.on('end', function() {
// annotate all files that match but were never referenced
moduleLoaderFinish();
blanket.onTestsDone();
});
it isn't
add <script src="assets/blanket-loader.js"></script>
to tests/index.html - it should be automatic when installing.
we have a new version forthcoming that changes the way this is maintained.
let me know.
On Apr 14, 2015, at 4:54 PM, Christopher van der Ploeg notifications@github.com wrote:
it isn't
—
Reply to this email directly or view it on GitHub #42 (comment).
looks like we had the existing script tags as absolute links not relative so the script wasn't finding them and inserting the tags.