Closed
Bug 1013820
Opened 10 years ago
Closed 10 years ago
Mocha report global leak detected: _$blanket while enabling coverage
Categories
(Firefox OS Graveyard :: Gaia::TestAgent, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1014180
People
(Reporter: rickychien, Assigned: rickychien)
Details
Attachments
(2 files)
For example, we run tests for bluetooth with enabling coverage. mocha report following errors: Error: global leak detected: _$blanket at checkGlobals (http://bluetooth.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3907:5) at (anonymous) (http://bluetooth.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3795:39) at emit (http://bluetooth.gaiamobile.org:8080/common/vendor/mocha/mocha.js:230:5) at (anonymous) (http://bluetooth.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3978:7) at done (http://bluetooth.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5) at (anonymous) (http://bluetooth.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9) at (anonymous) (http://bluetooth.gaiamobile.org:8080/common/test/mocha_generators.js:46:13) at oncomplete (http://bluetooth.gaiamobile.org:8080/common/vendor/test-agent/test-agent.js:888:11) We should ignore these annoying _$blanket leaks by adding _$blanket to mocha's global blacklist.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8426100 -
Flags: review?(felash)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8426101 -
Flags: review?(felash)
Assignee | ||
Comment 3•10 years ago
|
||
This workaround mentioned in bug 1014180 will fix the same problem.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 4•10 years ago
|
||
I was gonna do this too :)
Updated•10 years ago
|
Attachment #8426100 -
Flags: review?(felash)
Updated•10 years ago
|
Attachment #8426101 -
Flags: review?(felash)
You need to log in
before you can comment on or make changes to this bug.
Description
•