Skip to content

Commit 77c271f

Browse files
committed
test(auth): move jest.config to root of packagae
1 parent cb8c749 commit 77c271f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/core/auth-js/test/jest.config.js renamed to packages/core/auth-js/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ module.exports = {
1515
'!**/node_modules/**',
1616
'!**/vendor/**',
1717
],
18-
rootDir: '..',
18+
rootDir: '.',
1919
silent: true,
2020
}

packages/core/auth-js/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@
2626
"directory": "packages/core/auth-js"
2727
},
2828
"scripts": {
29-
"coverage": "echo \"run npm test\"",
3029
"build:node18": "npm run build:main && npm run build:module",
3130
"build": "npm run build:main && npm run build:module",
3231
"build:main": "tsc -p tsconfig.json",
3332
"build:module": "tsc -p tsconfig.module.json",
3433
"test:auth": "npm run test:clean && npm run test:infra && npm run test:suite && npm run test:clean",
35-
"test:suite": "jest --runInBand --coverage --config ./test/jest.config.js",
34+
"test:suite": "jest --runInBand --coverage",
3635
"test:infra": "cd infra && docker compose down && docker compose pull && docker compose up -d && sleep 30",
3736
"test:clean": "cd infra && docker compose down",
3837
"docs": "typedoc src/index.ts --out docs/v2 --excludePrivate --excludeProtected",

0 commit comments

Comments
 (0)