diff --git a/packages/client-sdk-nodejs/package.json b/packages/client-sdk-nodejs/package.json index a6e2f4099..cd98933df 100644 --- a/packages/client-sdk-nodejs/package.json +++ b/packages/client-sdk-nodejs/package.json @@ -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", diff --git a/packages/client-sdk-web/package.json b/packages/client-sdk-web/package.json index 30f6fb0bb..f5e0a638b 100644 --- a/packages/client-sdk-web/package.json +++ b/packages/client-sdk-web/package.json @@ -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",