Updated flattenObject tests

This commit is contained in:
Angelos Chalaris
2018-02-07 11:36:01 +02:00
parent 12238b8e78
commit d14b19406e
5 changed files with 9 additions and 13 deletions

View File

@ -6,7 +6,7 @@ test('Testing shuffle', (t) => {
//Please go to https://github.com/substack/tape
t.true(typeof shuffle === 'function', 'shuffle is a Function');
const arr = [1,2,3,4,5,6];
t.notDeepEqual(shuffle(arr), arr, 'Shuffles the array');
//t.notDeepEqual(shuffle(arr), arr, 'Shuffles the array'); Does not work always (got a test failing once)
//t.deepEqual(shuffle(args..), 'Expected');
//t.equal(shuffle(args..), 'Expected');
//t.false(shuffle(args..), 'Expected');