Test cleanup and fixes [a-b]

This commit is contained in:
Angelos Chalaris
2018-06-18 15:54:48 +03:00
parent a78f5db260
commit 026c65a5e6
151 changed files with 753 additions and 373 deletions

View File

@ -8,6 +8,8 @@ const stableSort = require('./stableSort.js');
const arr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const compare = () => 0;
t.deepEqual(stableSort(arr, compare), arr, 'Array is properly sorted');
test('Array is properly sorted', () => {
expect(stableSort(arr, compare), arr).toEqual()
});