test: integration tests (#40)

Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
This commit is contained in:
Parker Brown
2023-09-05 08:32:55 -07:00
committed by GitHub
parent 49ce228ea7
commit 10f155294b
10 changed files with 2021 additions and 8 deletions

19
tests/README.md Normal file
View File

@@ -0,0 +1,19 @@
# Tests
Add one test file per scenario. You can run them in isolation with:
```bash
node tests/post-token-set.test.js
```
All tests are run together in [tests/index.js](index.js), which can be execauted with ava
```
npx ava tests/index.js
```
or with npm
```
npm test
```