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
I'm happy to look in to this further, but wanted to start by reporting the issue.
Does anyone know off-hand what the issue is?
Use Case
We frequently use this.subject() in beforeEach to set attributes on the subject that all tests share.
Normally this hasn't caused any issues, even when using skip, but we ran in to an exception when skip happened to be the first test.
Details
The first exception is:
beforeEach failed on it exists: undefined is not an object (evaluating 'module.setContext')
Which happens in qunit-module.js (in beforeEach). This is why I reported the bug here, but I'm not sure if it could be a symptom of an issue with qunit.
The text was updated successfully, but these errors were encountered:
I have a reproduction example at amiel/qunit-skip-example (this test shows the specific case).
I'm happy to look in to this further, but wanted to start by reporting the issue.
Does anyone know off-hand what the issue is?
Use Case
We frequently use
this.subject()
inbeforeEach
to set attributes on the subject that all tests share.Normally this hasn't caused any issues, even when using
skip
, but we ran in to an exception whenskip
happened to be the first test.Details
The first exception is:
Which happens in
qunit-module.js
(inbeforeEach
). This is why I reported the bug here, but I'm not sure if it could be a symptom of an issue with qunit.The text was updated successfully, but these errors were encountered: