Test cleanup and fixes [a-b]
This commit is contained in:
@ -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()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user