Cleanup: Add unit-tests task to grunt test, fix style checks
And improve success logging in unit-tests. FREEBIE
This commit is contained in:
parent
b9b9abf76a
commit
cb296fcfaa
2 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@ describe('i18n', function() {
|
|||
});
|
||||
it('returns message with single substitution', function() {
|
||||
const actual = i18n('attemptingReconnection', 5);
|
||||
assert.equal(actual, 'Attempting reconnect in 5 seconds')
|
||||
assert.equal(actual, 'Attempting reconnect in 5 seconds');
|
||||
});
|
||||
it('returns message with multiple substitutions', function() {
|
||||
const actual = i18n('verifyContact', ['<strong>', '</strong>']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue