Skip to content

Commit f75d5cd

Browse files
committed
Fix stupid deep equal check
1 parent 9c6d5de commit f75d5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('utils', () => {
4040
it('should recursively traverse a tree of nodes and return the key values of parents from the level specified', () => {
4141
const expected = ['0', '0-1'];
4242

43-
assert.equal(expected, expandNodesToLevel(nestedTree, 1));
43+
assert.deepEqual(expected, expandNodesToLevel(nestedTree, 1));
4444
});
4545
});
4646
});

0 commit comments

Comments
 (0)