Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

tests #431

@BenjaminHorn

Description

@BenjaminHorn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions