Created
March 5, 2022 10:55
-
-
Save sibelius/fd6e797cc038787b81e12ac6c68cba45 to your computer and use it in GitHub Desktop.
jest config multi project to test both server/api and frontend tests in a nextjs api
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
module.exports = { | |
projects: [ | |
'<rootDir>/jest.frontend.config.js', | |
'<rootDir>/jest.server.config.js', | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/sibelius/next-jest-multiproject