File tree 2 files changed +20
-22
lines changed
2 files changed +20
-22
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,26 @@ export default {
189
189
] ,
190
190
} ,
191
191
} ,
192
- '<rootDir>/packages/angular' ,
192
+ {
193
+ displayName : 'angular' ,
194
+ testEnvironment : 'jsdom' ,
195
+ preset : 'jest-preset-angular' ,
196
+ testMatch : [ '<rootDir>/packages/angular/projects/angular-sdk/src/**/*.spec.{ts,tsx}' ] ,
197
+ setupFilesAfterEnv : [ '<rootDir>/packages/angular/setup-jest.ts' ] ,
198
+ moduleNameMapper : {
199
+ '@openfeature/core' : '<rootDir>/packages/shared/src' ,
200
+ '@openfeature/web-sdk' : '<rootDir>/packages/web/src' ,
201
+ } ,
202
+ transform : {
203
+ '^.+\\.(ts|js|html|svg)$' : [
204
+ 'jest-preset-angular' ,
205
+ {
206
+ tsconfig : '<rootDir>/packages/angular/tsconfig.json' ,
207
+ isolatedModules : true ,
208
+ } ,
209
+ ] ,
210
+ } ,
211
+ }
193
212
] ,
194
213
195
214
// Use this configuration option to add custom reporters to Jest
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments