Skip to content

Commit

Permalink
build(tests): Fix run tests from root and ensure package tests are no…
Browse files Browse the repository at this point in the history
…t run interactive.
  • Loading branch information
jafin committed Jul 10, 2024
1 parent f1e3823 commit 022807e
Show file tree
Hide file tree
Showing 4 changed files with 837 additions and 91 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "eslint --cache .",
"lint-fix": "eslint --cache --fix .",
"outdated": "pnpm outdated -r",
"test": "pnpm run test --workspaces --if-present",
"test": "pnpm --if-present --recursive run test ",
"build": "pnpm -r --filter=./packages/* run build"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/oidc-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"clean": "rimraf dist",
"copy-service-worker": "cpy ./node_modules/@axa-fr/oidc-client-service-worker/dist/OidcTrustedDomains.js ./node_modules/@axa-fr/oidc-client-service-worker/dist/OidcServiceWorker.js ./dist",
"build": "tsc && vite build",
"test": "vitest --root . --coverage",
"test": "vitest run --root . --coverage",
"prepare": "pnpm run clean && pnpm run copy-service-worker && pnpm run build",
"postinstall": "echo 'WARNING keep sink OidcServiceWorker.js version file'"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-oidc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"start": "pnpm run copy-service-worker && vite",
"build": "vite build",
"serve": "vite preview",
"test": "vitest --root . --coverage",
"test": "vitest run --root . --coverage",
"clean": "rimraf dist",
"postinstall": "echo 'WARNING keep sink OidcServiceWorker.js version file'",
"prepare": "pnpm run clean && pnpm run copy-service-worker && pnpm run build",
Expand Down
Loading

0 comments on commit 022807e

Please sign in to comment.