RED-5265: wip permissions
This commit is contained in:
parent
d4abe290b0
commit
9a115e8289
@ -1 +1 @@
|
||||
Subproject commit 5ea75f1f059132df4b00c98d9462d0a9be303060
|
||||
Subproject commit 7d4e0a851ad697b2ea9df04b943e382debfa2a93
|
||||
52142
package-lock.json
generated
52142
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@ -76,6 +76,7 @@
|
||||
"@nrwl/eslint-plugin-nx": "14.5.7",
|
||||
"@nrwl/linter": "14.5.7",
|
||||
"@nrwl/workspace": "14.5.7",
|
||||
"@types/jest": "^29.1.1",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "18.7.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.33.1",
|
||||
@ -87,6 +88,9 @@
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"google-translate-api-browser": "^1.1.71",
|
||||
"husky": "^8.0.1",
|
||||
"jest": "^28.1.3",
|
||||
"jest-environment-jsdom": "^29.1.2",
|
||||
"jest-preset-angular": "^12.2.2",
|
||||
"lint-staged": "^13.0.2",
|
||||
"nx": "14.5.7",
|
||||
"postcss": "^8.4.16",
|
||||
@ -102,5 +106,20 @@
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-bundle-analyzer": "^4.6.0",
|
||||
"xliff": "^6.1.0"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "jest-preset-angular",
|
||||
"setupFilesAfterEnv": [
|
||||
"<rootDir>/setupJest.ts"
|
||||
],
|
||||
"testPathIgnorePatterns": [
|
||||
"<rootDir>/node_modules/",
|
||||
"<rootDir>/dist/"
|
||||
],
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsconfig": "<rootDir>/tsconfig.spec.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
setupJest.ts
Normal file
1
setupJest.ts
Normal file
@ -0,0 +1 @@
|
||||
import 'jest-preset-angular/setup-jest.js';
|
||||
9
tsconfig.spec.json
Normal file
9
tsconfig.spec.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist/out-tsc/spec",
|
||||
"types": ["jest", "node"],
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["./libs/**/*.spec.ts", "./libs/**/*.d.ts"]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user