rsnext/examples/with-jest/README.md

25 lines
551 B
Markdown
Raw Normal View History

[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-jest)
# Example app with jest tests
## How to use
2017-01-16 22:23:24 +01:00
Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-jest
cd with-jest
```
Install it and test:
```bash
npm install
npm test
```
## The idea behind the example
This example features:
* An app with jest tests