Skip to content

Instantly share code, notes, and snippets.

@kuroski
Created September 8, 2018 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuroski/40c943ea9805a9429d2a398b007aff48 to your computer and use it in GitHub Desktop.
Save kuroski/40c943ea9805a9429d2a398b007aff48 to your computer and use it in GitHub Desktop.
import userFixture from '../../tests/unit/fixtures/user'
export default {
searchUser: jest.fn().mockResolvedValue(userFixture)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment