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)
Firefox OS Graveyard
Gaia::Dialer
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.
Reporter | ||
Updated•10 years ago
|
Blocks: dialer-most-wanted
Updated•10 years ago
|
Whiteboard: [planned-sprint]
Target Milestone: --- → 2.1 S4 (12sep)
Updated•10 years ago
|
Target Milestone: 2.1 S4 (12sep) → 2.1 S5 (26sep)
Updated•10 years ago
|
Assignee: nobody → david.garciaparedes
Assignee | ||
Comment 1•10 years ago
|
||
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)
Comment 2•10 years ago
|
||
(In reply to David Garcia [:davidg] from comment #1)
> changes introduced in Bug 106274.
David was referring to bug 1062749.
Comment 3•10 years ago
|
||
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.
Description
•