Mocking a Database in Node with Jest


This video is part of the following playlists:


Learn how to use jest mock functions to mock a database in an HTTP server.

Other Testing Videos:

šŸ”— Code: https://github.com/Sam-Meech-Ward/express_jest_and_mocks

šŸ”— Jest Mock Functions: https://jestjs.io/docs/mock-functions

Find an issue with this page?Ā Fix it on GitHub