Closed Bug 982544 Opened 12 years ago Closed 8 years ago

Remove setTimeout()-simulated async function in shared/unit/mocks/mock_navigator_moz_settings.js and fix related tests

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dwi2, Unassigned)

Details

In unit tests, we should use sinon stub to simulate async method/DOM request instead of setTimeout.
It's a follow up of bug 976986
Talked to Tzu-Lin and make the scope of this bug more specific. Let's deal with these mocks one at a time :) Thanks for filing.
Component: Gaia::System → Gaia
Summary: Remove all DOM request-simulated timers in unit test of system app → Remove setTimeout()-simulated async function in shared/unit/mocks/mock_navigator_moz_settings.js and fix related tests
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.