Skip to content

Commit

Permalink
chore: enable consistent reads for all canary test targets (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
nand4011 authored Oct 1, 2024
1 parent 90f8e78 commit af063e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/client-sdk-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"scripts": {
"prebuild": "eslint . --ext .ts",
"test": "jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1",
"integration-test-auth": "jest auth/ --maxWorkers 1",
"integration-test-auth": "jest auth/ --maxWorkers 1 -- useConsistentReads",
"integration-test-cache": "jest cache/ --maxWorkers 1 -- useConsistentReads",
"integration-test-control-cache-topics": "npm run integration-test-cache && npm run integration-test-topics",
"integration-test-leaderboard": "jest leaderboard/ --maxWorkers 1",
"integration-test-storage": "jest storage/ --maxWorkers 1",
"integration-test-leaderboard": "jest leaderboard/ --maxWorkers 1 -- useConsistentReads",
"integration-test-storage": "jest storage/ --maxWorkers 1 -- useConsistentReads",
"integration-test-store": "npm run integration-test-storage",
"integration-test-topics": "jest topics/ webhooks/ --maxWorkers 1",
"integration-test-topics": "jest topics/ webhooks/ --maxWorkers 1 -- useConsistentReads",
"integration-test-consistent-reads": "jest integration --maxWorkers 1 -- useConsistentReads",
"integration-test": "jest integration --maxWorkers 1",
"unit-test": "jest unit",
Expand Down
8 changes: 4 additions & 4 deletions packages/client-sdk-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"prebuild": "eslint . --ext .ts",
"test": "jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1",
"unit-test": "jest unit",
"integration-test-auth": "jest --env=jsdom auth/ --maxWorkers 1",
"integration-test-auth": "jest --env=jsdom auth/ --maxWorkers 1 -- useConsistentReads",
"integration-test-cache": "jest --env=jsdom cache/ --maxWorkers 1 -- useConsistentReads",
"integration-test-control-cache-topics": "npm run integration-test-cache && npm run integration-test-topics",
"integration-test-leaderboard": "jest --env=jsdom leaderboard/ --maxWorkers 1",
"integration-test-storage": "jest --env=jsdom storage/ --maxWorkers 1",
"integration-test-leaderboard": "jest --env=jsdom leaderboard/ --maxWorkers 1 -- useConsistentReads",
"integration-test-storage": "jest --env=jsdom storage/ --maxWorkers 1 -- useConsistentReads",
"integration-test-store": "npm run integration-test-storage",
"integration-test-topics": "jest --env=jsdom topics/ --maxWorkers 1 && jest --env=@happy-dom/jest-environment webhooks/ --maxWorkers 1",
"integration-test-topics": "jest --env=jsdom topics/ --maxWorkers 1 && jest --env=@happy-dom/jest-environment webhooks/ --maxWorkers 1 -- useConsistentReads",
"integration-test-jsdom": "jest integration --env=jsdom --testMatch \"**/dictionary.test.ts|**/ping.test.ts|*/topic-client.test.ts|leaderboard.test.ts\" --maxWorkers 1",
"integration-test-jsdom-consistent-reads": "jest integration --env=jsdom --testMatch \"**/dictionary.test.ts|**/ping.test.ts|*/topic-client.test.ts|leaderboard.test.ts\" --maxWorkers 1 -- useConsistentReads",
"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|leaderboard.test.ts|storage.test.ts\" --maxWorkers 1",
Expand Down

0 comments on commit af063e2

Please sign in to comment.