Hi FCC community,
I have an issue with this challenge.
I have tried this code in multiple versions and it is not working
Version # 1
test('#deepEqual, #notDeepEqual', function(){
assert.notDeepEqual( { a: '1', b: 5 } , { b: 5, a: '1' }, "keys order doesn't matter" );
assert.DeepEqual( { a: [5, 6] }, { a: [6, 5] }, "array elements position does matter !!" );
});
});
Version # 2
test('#deepEqual, #notDeepEqual', function(){
assert.DeepEqual( { a: '1', b: 5 } , { b: 5, a: '1' }, "keys order doesn't matter" );
assert.notDeepEqual( { a: [5, 6] }, { a: [6, 5] }, "array elements position does matter !!" );
});
});
Error that I get is
// running tests
All tests should pass.
You should choose the right assertion - deepEqual vs. notDeepEqual.
You should choose the right assertion - deepEqual vs. notDeepEqual.
// tests completed
Please, help