Skip to content

Commit

Permalink
fix: ignore http tests when running integ suite
Browse files Browse the repository at this point in the history
  • Loading branch information
rishtigupta committed Nov 22, 2024
1 parent 30c3cac commit 1434b28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/client-sdk-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"scripts": {
"prebuild": "eslint . --ext .ts",
"test": "jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1",
"test": "jest --testPathIgnorePatterns=\"auth-client\\.test\\.ts|http-apis\\.test\\.ts\" --maxWorkers 1",
"integration-test-auth": "jest auth/ --maxWorkers 1 -- useConsistentReads",
"integration-test-http": "jest http/ --maxWorkers 1 -- useConsistentReads",
"integration-test-cache": "jest cache/ --maxWorkers 1 -- useConsistentReads",
Expand All @@ -27,7 +27,7 @@
"integration-test": "jest integration --maxWorkers 1",
"unit-test": "jest unit",
"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",
"build-and-run-tests": "npm run build-deps && jest --testPathIgnorePatterns=\"auth-client\\.test\\.ts|http-apis\\.test\\.ts\" --maxWorkers 1",
"lint": "eslint . --ext .ts",
"format": "eslint . --ext .ts --fix",
"watch": "tsc -w",
Expand Down
4 changes: 2 additions & 2 deletions packages/client-sdk-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"scripts": {
"prebuild": "eslint . --ext .ts",
"test": "jest --testPathIgnorePatterns auth-client.test.ts --maxWorkers 1",
"test": "jest --testPathIgnorePatterns=\"auth-client\\.test\\.ts|http-apis\\.test\\.ts\" --maxWorkers 1",
"unit-test": "jest unit",
"integration-test-auth": "jest --env=jsdom auth/ --maxWorkers 1 -- useConsistentReads",
"integration-test-http": "jest --env=jsdom http/ --maxWorkers 1 -- useConsistentReads",
Expand All @@ -31,7 +31,7 @@
"integration-test": "npm run integration-test-happy-dom && npm run integration-test-jsdom",
"integration-test-consistent-reads": "npm run integration-test-happy-dom-consistent-reads && npm run integration-test-jsdom-consistent-reads",
"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",
"build-and-run-tests": "npm run build-deps && jest --testPathIgnorePatterns=\"auth-client\\.test\\.ts|http-apis\\.test\\.ts\" --maxWorkers 1",
"lint": "eslint . --ext .ts",
"format": "eslint . --ext .ts --fix",
"watch": "tsc -w",
Expand Down

0 comments on commit 1434b28

Please sign in to comment.