Skip to content

Commit d39eeef

Browse files
committed
chore: upgrade tap to latest
1 parent 3835e5e commit d39eeef

File tree

8 files changed

+9538
-9654
lines changed

8 files changed

+9538
-9654
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ node_modules
99
/dist
1010
.DS_Store
1111
.history
12+
13+
# https://node-tap.org/dot-tap-folder/
14+
.tap

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ MIT © [Sanity.io](https://www.sanity.io/)
9696

9797
## Tests
9898

99-
Tests are written in [Jest](https://jestjs.io/):
99+
Tests are written in [Tap](https://node-tap.org/):
100100

101101
```bash
102102
# Install dependencies
@@ -106,6 +106,19 @@ npm i
106106
npm test
107107
```
108108

109+
## Coverage
110+
111+
```bash
112+
113+
# Run tests
114+
npm test
115+
116+
# Generate coverage report, in html format
117+
npx tap report html
118+
```
119+
120+
## GROQ Test Suite
121+
109122
You can also generate tests from [the official GROQ test suite](https://github.com/sanity-io/groq-test-suite):
110123

111124
```bash

0 commit comments

Comments
 (0)