Skip to content

Commit

Permalink
chore: bump groq test suite to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
sgulseth committed Nov 28, 2024
1 parent 758d8e9 commit ad1b83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ npm test
You can generate tests from a specific version:

```shell
GROQTEST_SUITE_VERSION=v0.1.46 ./test/generate.sh
GROQTEST_SUITE_VERSION=v1.0.0 ./test/generate.sh
```

or from a file (as generated by the test suite):
Expand Down
2 changes: 1 addition & 1 deletion test/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ "$GROQTEST_SUITE" != "" ]]; then
echo "Using test suite file: $GROQTEST_SUITE"
node "$DIR"/generate.js < "$GROQTEST_SUITE" >"$RESULT"
else
GROQTEST_SUITE_VERSION=${GROQTEST_SUITE_VERSION:-v0.1.46}
GROQTEST_SUITE_VERSION=${GROQTEST_SUITE_VERSION:-v1.0.0}
url=https://github.com/sanity-io/groq-test-suite/releases/download/$GROQTEST_SUITE_VERSION/suite.ndjson
echo "Getting test suite: $url"
curl -sfL "$url" | node "$DIR"/generate.js >"$RESULT"
Expand Down

0 comments on commit ad1b83b

Please sign in to comment.