mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
d08e027a8c
* Add deploy now button to the top of all example READMEs * Remove unnecessary whitespace changes
25 lines
551 B
Markdown
25 lines
551 B
Markdown
[![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
|
|
|
|
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
|