Skip to content

Commit

Permalink
create new npm targets for leaderboard tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Jan 18, 2024
1 parent eefe3aa commit 317eb96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/client-sdk-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"integration-test-auth": "jest auth-client.test.ts --maxWorkers 1",
"integration-test-vector": "jest vector-control-plane.test.ts vector-data-plane.test.ts --maxWorkers 1",
"unit-test": "jest unit",
"integration-test": "jest integration --testPathIgnorePatterns \"auth-client.test.ts|vector-control-plane.test.ts|vector-data-plane.test.ts\" --maxWorkers 1",
"integration-test-leaderboard": "jest leaderboard --maxWorkers 1",
"integration-test": "jest integration --testPathIgnorePatterns \"auth-client.test.ts|vector-control-plane.test.ts|vector-data-plane.test.ts|leaderboard-client.test.ts\" --maxWorkers 1",
"build-deps": "cd ../core && npm run build && cd - && cd ../common-integration-tests && npm run build && cd -",
"build-and-run-tests": "npm run build-deps && jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1",
"lint": "eslint . --ext .ts",
Expand Down
5 changes: 3 additions & 2 deletions packages/client-sdk-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
"unit-test": "jest unit",
"integration-test-auth": "jest --env=jsdom auth-client.test.ts --maxWorkers 1",
"integration-test-vector": "jest vector-control-plane.test.ts vector-data-plane.test.ts --maxWorkers 1",
"integration-test-jsdom": "jest integration --env=jsdom --testMatch \"**/dictionary.test.ts|**/ping.test.ts|*/topic-client.test.ts\" --maxWorkers 1",
"integration-test-happy-dom": "jest integration --env=@happy-dom/jest-environment --testPathIgnorePatterns \"dictionary.test.ts|ping.test.ts|topic-client.test.ts|auth-client.test.ts|vector-control-plane.test.ts|vector-data-plane.test.ts\" --maxWorkers 1",
"integration-test-leaderboard": "jest --env=jsdom leaderboard --maxWorkers 1",
"integration-test-jsdom": "jest integration --env=jsdom --testMatch \"**/dictionary.test.ts|**/ping.test.ts|*/topic-client.test.ts|leaderboard-client.test.ts\" --maxWorkers 1",
"integration-test-happy-dom": "jest integration --env=@happy-dom/jest-environment --testPathIgnorePatterns \"dictionary.test.ts|ping.test.ts|topic-client.test.ts|auth-client.test.ts|vector-control-plane.test.ts|vector-data-plane.test.ts|leaderboard-client.test.ts\" --maxWorkers 1",
"integration-test": "npm run integration-test-happy-dom && npm run integration-test-jsdom",
"build-deps": "cd ../core && npm run build && cd - && cd ../common-integration-tests && npm run build && cd -",
"build-and-run-tests": "npm run build-deps && jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1",
Expand Down

0 comments on commit 317eb96

Please sign in to comment.