Skip to content

Commit

Permalink
fix: remove jasmine from tsconfig types when adding jest (#1691)
Browse files Browse the repository at this point in the history
## Related issues

- 🐛 Fixes #1683

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
  • Loading branch information
vscaiceanu-1a authored Apr 22, 2024
2 parents b5f6017 + 9799528 commit bbae039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@o3r/testing/schematics/ng-add/fixture/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function updateFixtureConfig(options: { projectName?: string | null | und
if (tsconfigCompilerOptions.types.indexOf('jest') === -1) {
tsconfigCompilerOptions.types.push('jest');
}
tsconfigCompilerOptions.types = tsconfigCompilerOptions.types.filter((tsType: string) => tsType !== 'jasmine');
}
tsconfigCompilerOptions.esModuleInterop = true;
tsconfigCompilerOptions.outDir = 'test';
Expand Down

0 comments on commit bbae039

Please sign in to comment.