Skip to content

Commit 178fc71

Browse files
committed
chore: add test coverage to postgrest-js
1 parent 12faa3d commit 178fc71

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ jobs:
2323
- run: |
2424
npm clean-install
2525
npm run test
26+
27+
- name: Coveralls
28+
uses: coverallsapp/github-action@v2

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"docs": "typedoc src/index.ts --out docs/v2",
3939
"docs:json": "typedoc --json docs/v2/spec.json --excludeExternals src/index.ts",
4040
"test": "run-s format:check test:types db:clean db:run test:run db:clean && node test/smoke.cjs && node test/smoke.mjs",
41-
"test:run": "jest --runInBand",
41+
"test:run": "jest --runInBand --coverage",
4242
"test:update": "run-s db:clean db:run && jest --runInBand --updateSnapshot && run-s db:clean",
4343
"test:types": "run-s build && tsd --files 'test/**/*.test-d.ts'",
4444
"db:clean": "cd test/db && docker compose down --volumes",

0 commit comments

Comments
 (0)