Skip to content

Commit

Permalink
Merge pull request #594 from supabase/chore/add-test-coverage
Browse files Browse the repository at this point in the history
chore: add test coverage to postgrest-js
  • Loading branch information
avallete authored Jan 16, 2025
2 parents 12faa3d + 178fc71 commit ba82f93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ jobs:
- run: |
npm clean-install
npm run test
- name: Coveralls
uses: coverallsapp/github-action@v2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"docs": "typedoc src/index.ts --out docs/v2",
"docs:json": "typedoc --json docs/v2/spec.json --excludeExternals src/index.ts",
"test": "run-s format:check test:types db:clean db:run test:run db:clean && node test/smoke.cjs && node test/smoke.mjs",
"test:run": "jest --runInBand",
"test:run": "jest --runInBand --coverage",
"test:update": "run-s db:clean db:run && jest --runInBand --updateSnapshot && run-s db:clean",
"test:types": "run-s build && tsd --files 'test/**/*.test-d.ts'",
"db:clean": "cd test/db && docker compose down --volumes",
Expand Down

0 comments on commit ba82f93

Please sign in to comment.