Closed
Bug 1052941
Opened 10 years ago
Closed 10 years ago
test-agent hiccups with sinon error after test where sinon wasn't used
Categories
(Firefox OS Graveyard :: Gaia::TestAgent, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gaye, Assigned: gaye)
Details
Attachments
(1 file)
I have a test here https://github.com/gaye/gaia/blob/bug-1023644/apps/calendar/test/unit/provider/provider_test.js that fails with the following error even though I never used sinon. Agh! 3) [calendar-test/unit/provider/provider_test.js] "after each" hook: TypeError: this.sinon is null at (anonymous) (app://calendar.gaiamobile.org/common/test/sinon_helper.js:8:5) at wrapper (app://calendar.gaiamobile.org/common/test/mocha_generators.js:62:19) at run (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3709:7) at next (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3973:5) at (anonymous) (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3984:5) at (anonymous) (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4932:28)
Assignee | ||
Comment 1•10 years ago
|
||
Ahhhhhhhhhh
Attachment #8472000 -
Flags: review?(jlal)
Attachment #8472000 -
Flags: review?(felash)
Comment 2•10 years ago
|
||
Comment on attachment 8472000 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22806 I wanted to do that for such a long time. Thanks :p
Attachment #8472000 -
Flags: review?(jlal)
Attachment #8472000 -
Flags: review?(felash)
Attachment #8472000 -
Flags: review+
Updated•10 years ago
|
Assignee: nobody → gaye
Component: Gaia::Calendar → Gaia::TestAgent
Comment 3•10 years ago
|
||
master: 0918e40d19e2bc1e8cc6be70f864aca64dbe3b3d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•