7cf3c3d28d
The issue is related to [12964](https://github.com/zeit/next.js/issues/12964) Let me know if there are any changes you want me to make. Affected examples: **with-glamor with-graphql-hooks with-graphql-react with-grommet with-http2 with-jest with-cookie-auth-fauna with-context-api with-cerebral with-aphrodite with-apollo-and-redux basic-css with-carbon-components amp-first** I would love to help more, so let me know if there is anything specific I can contribute to. |
||
---|---|---|
.. | ||
__tests__ | ||
config/jest | ||
pages | ||
public | ||
styles | ||
.babelrc | ||
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