Closed Bug 1061623 Opened 10 years ago Closed 10 years ago

Write tests for ticker updates on the call screen

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S5 (26sep)

People

(Reporter: rik, Assigned: davidg)

References

Details

(Whiteboard: [planned-sprint])

https://github.com/mozilla-b2g/gaia/pull/23435#discussion-diff-16882245 Looks like we're not testing this since the code change didn't break any test.
Whiteboard: [planned-sprint]
Target Milestone: --- → 2.1 S4 (12sep)
Target Milestone: 2.1 S4 (12sep) → 2.1 S5 (26sep)
Assignee: nobody → david.garciaparedes
Please, quick check if we still need more tests but it seems to me that it is covered, mostly because the changes introduced in Bug 106274. This test should be testing that part: test('createTicker should update timer every second', function() { this.sinon.spy(Utils, 'prettyDuration'); this.sinon.clock.tick(1000); sinon.assert.calledWith(Utils.prettyDuration, timeNode, 1000); });
Flags: needinfo?(drs+bugzilla)
(In reply to David Garcia [:davidg] from comment #1) > changes introduced in Bug 106274. David was referring to bug 1062749.
Yeah, it looks like our test coverage here is fine now. Thanks for investigating.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(drs+bugzilla)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.