mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
* Remove increment behavior * Dismiss when new messages arrive but the window is focused * Update the indicator when window becomes focused. // FREEBIE
13 lines
334 B
JavaScript
13 lines
334 B
JavaScript
/*
|
|
* vim: ts=4:sw=4:expandtab
|
|
*/
|
|
describe('LastSeenIndicatorView', function() {
|
|
// TODO: in electron branch, where we have access to real i18n, test rendered HTML
|
|
|
|
it('renders provided count', function() {
|
|
var view = new Whisper.LastSeenIndicatorView({count: 10});
|
|
assert.equal(view.count, 10);
|
|
});
|
|
|
|
});
|