Skip to content

Commit

Permalink
Merge pull request #18 from skawaguchi/master
Browse files Browse the repository at this point in the history
Add slightly more useful example to README
  • Loading branch information
wavded committed May 31, 2016
2 parents 3dd8ce2 + 67093ee commit 98c39fa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ babel-tape-runner my-es-next-test.js
babel-tape-runner lib/**/__tests__/*-test.js # or glob patterns
```

For example, use this in your `package.json` file so you can run `npm test` to execute your tests:
```json
{
"scripts": {
"test": "babel-tape-runner \"lib/**/__tests__/*-test.js\" | faucet"
},
""
}
```

## licence

MIT

0 comments on commit 98c39fa

Please sign in to comment.