Test cleanup and fixes [a-b]

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

View File

@ -7,7 +7,11 @@ const pullAtValue = require('./pullAtValue.js');
});
let myArray = ['a', 'b', 'c', 'd'];
let pulled = pullAtValue(myArray, ['b', 'd']);
t.deepEqual(myArray, [ 'a', 'c' ], 'Pulls the specified values');
t.deepEqual(pulled, [ 'b', 'd' ], 'Pulls the specified values');
test('Pulls the specified values', () => {
expect(myArray, [ 'a', 'c' ]).toEqual()
});
test('Pulls the specified values', () => {
expect(pulled, [ 'b', 'd' ]).toEqual()
});