Closed
Bug 991663
Opened 10 years ago
Closed 6 years ago
[TestAgent] Make the test-agent Promises friendly
Categories
(Firefox OS Graveyard :: Gaia::TestAgent, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: julienw, Unassigned)
References
Details
(Keywords: meta)
Writing tests for Promise-based code is currently quite cumbersome. This bug would: * upgrade mocha to the newest version so that it is Promise-aware (see [1]) * add Chai as promised [2] [1] http://visionmedia.github.io/mocha/#asynchronous-code [2] https://github.com/domenic/chai-as-promised/
Reporter | ||
Comment 1•10 years ago
|
||
And probably upgrade chai too, which may break existing tests, so we will need to fix those tests as well.
Comment 2•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•