rsnext/examples/with-jest
2020-08-29 22:32:35 -04:00
..
__tests__ Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
config/jest New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
pages Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
public New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
styles New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
.babelrc Update with-jest example .babelrc config (#5414) 2018-10-09 12:45:51 +02:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
jest.config.js New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
package.json Ensure all examples are MIT licensed (#16691) 2020-08-29 22:32:35 -04:00
README.md Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
setupTests.js New Jest Example (#10396) 2020-02-03 20:36:55 +01:00

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