f00ad581a1
Co-authored-by: Joe Haddad <joe.haddad@zeit.co> |
||
---|---|---|
.. | ||
__tests__ | ||
config/jest | ||
pages | ||
public | ||
styles | ||
.babelrc | ||
.gitignore | ||
jest.config.js | ||
package.json | ||
README.md | ||
setupTests.js |
Next.js + Jest
This example shows how to configure Jest to work with Next.js.
This includes Next.js' built-in support for Global CSS, CSS Modules, and TypeScript!
How to Use
Quickly get started using Create Next App!
In your terminal, run the following command:
npx create-next-app --example with-jest
Run Jest Tests
npm test