Closed
Bug 1013803
Opened 10 years ago
Closed 10 years ago
NFC: TypeError: suite.skip is not a function when running Gaia Unit test.
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S2 (23may)
People
(Reporter: allstars.chh, Assigned: tauzen)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file)
When running Gaia unit test for NFC, I found there's one error in console, "JavaScript error: http://system.gaiamobile.org:8080/test/unit/nfc_manager_test.js?time=1400656542618, line 455: suite.skip is not a function" However the unit test is still passed, not sure what this error message is.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kmioduszewski
Assignee | ||
Comment 1•10 years ago
|
||
This is my error. I think we don't support suite.skip in unit tests. The test passes because suit.skip is the last one in the file, so the other ones are working properly. To remove this warning i can comment out the skipped test.
Assignee | ||
Comment 2•10 years ago
|
||
I've rewrote the test a bit and moved it (still commented) to be part of the proper test case. I've also fixed this error - "JavaScript error: http://system.gaiamobile.org:8080/js/nfc_manager.js?time=1400659244941, line 47: window.navigator.mozSetMessageHandler is not a function", by removing the unnecessary requireApp('system/js/nfc_manager.js'); The fix is waiting for TravisCI build here: https://github.com/mozilla-b2g/gaia/pull/19467/files
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8426157 -
Flags: review?(alive)
Updated•10 years ago
|
Attachment #8426157 -
Flags: review?(alive) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
master : https://github.com/mozilla-b2g/gaia/commit/7ef9aa348bf3328be255c566e58c472689e0bec1
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [p=1]
You need to log in
before you can comment on or make changes to this bug.
Description
•