diff --git a/packages/client-sdk-nodejs/package.json b/packages/client-sdk-nodejs/package.json index dd59d965d..042b176f7 100644 --- a/packages/client-sdk-nodejs/package.json +++ b/packages/client-sdk-nodejs/package.json @@ -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", diff --git a/packages/client-sdk-web/package.json b/packages/client-sdk-web/package.json index b12c44700..a373c9a4b 100644 --- a/packages/client-sdk-web/package.json +++ b/packages/client-sdk-web/package.json @@ -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",