mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: shorter test
This commit is contained in:
@@ -264,15 +264,7 @@ describe('Utility Methods', () => {
|
|||||||
|
|
||||||
it('should add commas to numbers', (done) => {
|
it('should add commas to numbers', (done) => {
|
||||||
assert.equal(utils.addCommas('100'), '100');
|
assert.equal(utils.addCommas('100'), '100');
|
||||||
done();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should add commas to numbers', (done) => {
|
|
||||||
assert.equal(utils.addCommas('1000'), '1,000');
|
assert.equal(utils.addCommas('1000'), '1,000');
|
||||||
done();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should add commas to numbers', (done) => {
|
|
||||||
assert.equal(utils.addCommas('1000000'), '1,000,000');
|
assert.equal(utils.addCommas('1000000'), '1,000,000');
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user