Created
January 14, 2019 15:02
-
-
Save jaonoctus/170784b5c843e68bb7ee10a9a4ef6534 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
module.exports = { | |
collection: jest.fn().mockReturnThis(), | |
where: jest.fn().mockReturnThis(), | |
limit: jest.fn().mockReturnThis(), | |
doc: jest.fn().mockReturnThis(), | |
get: jest.fn().mockResolvedValue({ | |
empty: true, | |
docs: [] | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment