rsnext/examples/with-jest
Tim Neutkens 483bd3ddda
Rename ZEIT to Vercel (#12075)
* Find/replace

* Update more URLs

* More rename

* Fix remaining examples

* More updates

* Update create-next-app

* Update remaining text

* Update

Co-authored-by: Shu Uesugi <shu@chibicode.com>
2020-04-21 11:47:12 +02:00
..
__tests__ Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00
config/jest New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
pages Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02: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
jest.config.js New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
package.json New Jest Example (#10396) 2020-02-03 20:36:55 +01:00
README.md New Jest Example (#10396) 2020-02-03 20:36:55 +01: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