Closed
Bug 1013820
Opened 11 years ago
Closed 11 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•11 years ago
|
||
Attachment #8426100 -
Flags: review?(felash)
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8426101 -
Flags: review?(felash)
| Assignee | ||
Comment 3•11 years ago
|
||
This workaround mentioned in bug 1014180 will fix the same problem.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Comment 4•11 years ago
|
||
I was gonna do this too :)
Updated•11 years ago
|
Attachment #8426100 -
Flags: review?(felash)
Updated•11 years ago
|
Attachment #8426101 -
Flags: review?(felash)
You need to log in
before you can comment on or make changes to this bug.
Description
•