Created
September 27, 2019 19:21
-
-
Save oosby/33cf926996ca2d5eaa719eb6d6a3abbb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const utilityObj = require('../../utils/obj'); | |
jest.mock('../../utils/obj', () => { | |
return { | |
...jest.requireActual(''../../utils/obj'), | |
getDefaultOptions: jest.fn((req, path) => { | |
console.log('mock', path) | |
return // mocked stuff | |
}), | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment