From eb9c28de2f4611b93a200a06ceeab4a9d3aab5ee Mon Sep 17 00:00:00 2001 From: Timon Masberg Date: Mon, 22 Jan 2024 16:02:25 +0100 Subject: [PATCH] fix(api-observability): wrong jest config transformer --- libs/api/observability/jest.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/api/observability/jest.config.ts b/libs/api/observability/jest.config.ts index c17a8ba0..535f4bc6 100644 --- a/libs/api/observability/jest.config.ts +++ b/libs/api/observability/jest.config.ts @@ -2,13 +2,13 @@ export default { displayName: 'api-observability', preset: '../../../jest.preset.js', + globals: {}, testEnvironment: 'node', transform: { - '^.+\\.(ts|mjs|js|html)$': [ - 'jest-preset-angular', + '^.+\\.[tj]s$': [ + 'ts-jest', { tsconfig: '/tsconfig.spec.json', - stringifyContentPathRegex: '\\.(html|svg)$', }, ], },