You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running ember test I see 102 tests, all passing. However, when running tests with COVERAGE=true ember test I see 2 additional tests being run and the first of those fails.
Output:
...
ok 101 PhantomJS 2.1 - ESLint - utils/currencyutils.js: should pass ESLint
ok 102 PhantomJS 2.1 - ESLint - utils/dateutils.js: should pass ESLint
not ok 103 PhantomJS 2.1 - Global error: TypeError: undefined is not an object (evaluating '_qunit['default'].config.current.assert') at http://localhost:7357/assets/test-support.js, line 5299
---
Log: |
{ type: 'error',
text: 'TypeError: undefined is not an object (evaluating \'_qunit[\'default\'].config.current.assert\') at http://localhost:7357/assets/test-support.js, line 5299\n' }
...
not ok 104 PhantomJS 2.1 - ESLint - utils/dateutils.js: global failure
---
actual: >
null
expected: >
null
stack: >
http://localhost:7357/assets/test-support.js:5299
message: >
TypeError: undefined is not an object (evaluating '_qunit['default'].config.current.assert')
Log: |
...
1..104
# tests 104
# pass 102
# skip 0
# fail 2
Testem finished with non-zero exit code. Tests failed.
The message seems quite cryptic, I could not find why this happens. Could be a misconfiguration on my end, however I don't know how to debug this. Any ideas?
The text was updated successfully, but these errors were encountered:
@superthing001 My issue was totally irrelevant, and quite cryptic. What helped, though, was gradually deactivating tests & running them one by one. In my case it was an asynchronous event that during testing caused issues.
When running
ember test
I see 102 tests, all passing. However, when running tests withCOVERAGE=true ember test
I see 2 additional tests being run and the first of those fails.Output:
The message seems quite cryptic, I could not find why this happens. Could be a misconfiguration on my end, however I don't know how to debug this. Any ideas?
The text was updated successfully, but these errors were encountered: