[Test][System] Fix system app unit test race condition running on travis

NEW
Assigned to

Status

Firefox OS
Gaia::System
4 years ago
4 years ago

People

(Reporter: alive, Assigned: jlee)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

I think either mocks_helper or the mocked objects has problems.
(Assignee)

Comment 1

4 years ago
I think this problem occurred when some tests doesn't restore real navigator object in teardown.
the best way is using sinon to replace old mocks_helper in every test.
Could you take this?
(Assignee)

Updated

4 years ago
Assignee: nobody → jlee
The mocks helper is still useful, you don't need to replace it.

However, there might be case where using sinon makes sense.

What's the exact issue here?
You need to log in before you can comment on or make changes to this bug.