Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f28772 commit d422ec4Copy full SHA for d422ec4
testUtils/mockKnex.js
@@ -23,7 +23,7 @@ module.exports = function mockKnex(knex, mockExecutor) {
23
}
24
});
25
26
- const keys = [...Object.keys(knex), 'client'];
+ const keys = _.uniqBy([...Object.keys(knex), 'client']);
27
28
// Mock all other methods and properties.
29
keys.forEach(key => {
0 commit comments