tests #431
Description
The readme suggest 3 ways to run tests:
Via Ember CLI
Run: ember test --server
Ember CLI is a CI tool, so it will run tests as you change files.
On the console with PhantomJS
Run npm test.
In a browser
Run npm start.
Visit http://localhost:4200/tests/.
I have tried the last one. After running npm start
and open the browser I got error messages in the console:
tests.:6 GET http://localhost:4200/qunit.css
tests.:11 GET http://localhost:4200/qunit.js
tests.:12 GET http://localhost:4200/testem.js
tests.:14 GET http://localhost:4200/packages-config.js
tests.:15 GET http://localhost:4200/export-test-results.js
tests.:18 Uncaught ReferenceError: QUnit is not defined
What is the recommended way to debug this project? I made some console.log
statements to see what is going on in the code. Ember CLI recognized the file change, but I'm getting:
file changed parser/tokenizer-event-handlers.js
htmlbars-tests/htmlbars-syntax/parser/tokenizer-event-handlers.js: line 126, col 5, 'console' is not defined.
Activity