mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36: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) => {
|
||||
assert.equal(utils.addCommas('100'), '100');
|
||||
done();
|
||||
});
|
||||
|
||||
it('should add commas to numbers', (done) => {
|
||||
assert.equal(utils.addCommas('1000'), '1,000');
|
||||
done();
|
||||
});
|
||||
|
||||
it('should add commas to numbers', (done) => {
|
||||
assert.equal(utils.addCommas('1000000'), '1,000,000');
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user