Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d422ec4

Browse files
committed
d'oh
1 parent 9f28772 commit d422ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testUtils/mockKnex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function mockKnex(knex, mockExecutor) {
2323
}
2424
});
2525

26-
const keys = [...Object.keys(knex), 'client'];
26+
const keys = _.uniqBy([...Object.keys(knex), 'client']);
2727

2828
// Mock all other methods and properties.
2929
keys.forEach(key => {

0 commit comments

Comments
 (0)