Coding style fixes and improvements

This commit is contained in:
Angelos Chalaris
2018-02-04 18:07:31 +02:00
parent 1006da6fa5
commit 91ca70000d
8 changed files with 9 additions and 9 deletions

View File

@ -15,8 +15,8 @@ test('Testing chunk', (t) => {
t.throws(() => chunk(null), 'chunk(null) throws an error');
let start = new Date().getTime();
chunk('This is a string', 2)
chunk('This is a string', 2);
let end = new Date().getTime();
t.true((end - start) < 2000, 'chunk(This is a string, 2) takes less than 2s to run');
t.end();
});
});