Skip to content

Commit 181a0bd

Browse files
committed
chore: angular 20
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
1 parent 66a3ce0 commit 181a0bd

File tree

6 files changed

+5698
-7129
lines changed

6 files changed

+5698
-7129
lines changed

jest.config.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,14 @@ export default {
194194
displayName: 'angular',
195195
testEnvironment: 'jsdom',
196196
preset: 'jest-preset-angular',
197-
testMatch: ['<rootDir>/packages/angular/projects/angular-sdk/src/**/*.spec.{ts,tsx}'],
198-
setupFilesAfterEnv: ['<rootDir>/packages/angular/setup-jest.ts'],
197+
rootDir: '<rootDir>/packages/angular',
198+
testMatch: ['<rootDir>/src/**/*.spec.{ts,tsx}'],
199+
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
199200
moduleNameMapper: {
200201
'@openfeature/core': '<rootDir>/packages/shared/src',
201202
'@openfeature/web-sdk': '<rootDir>/packages/web/src',
202203
},
204+
moduleDirectories: ['<rootDir>/node_modules', '<rootDir>/../../node_modules'],
203205
transform: {
204206
'^.+\\.(ts|js|html|svg)$': [
205207
'jest-preset-angular',
@@ -209,7 +211,7 @@ export default {
209211
},
210212
],
211213
},
212-
}
214+
},
213215
],
214216

215217
// Use this configuration option to add custom reporters to Jest

0 commit comments

Comments
 (0)