Closed
Bug 1223417
Opened 9 years ago
Closed 9 years ago
Avoid setTimeout in sync app integration tests
Categories
(Firefox OS Graveyard :: Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
FxOS-S11 (13Nov)
People
(Reporter: mbdejong, Assigned: mbdejong)
References
Details
Attachments
(1 file)
Instead of checking for closeStub.called every 100ms [1], store the promise and resolve it from the closeStub.
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/sync/test/unit/integration_test.js#L109
Assignee | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8686013 -
Flags: review?(ferjmoreno)
Updated•9 years ago
|
Attachment #8686013 -
Flags: review?(ferjmoreno) → review+
Comment 2•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•