From 67a79f2e58d7a22546c34754cd75f3aaf575c034 Mon Sep 17 00:00:00 2001 From: Younes Jaaidi Date: Wed, 14 Jun 2023 15:10:24 +0200 Subject: [PATCH] =?UTF-8?q?test:=20=E2=9C=85=20fix=20async/await=20+=20har?= =?UTF-8?q?ness=20compat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cf. https://github.com/thymikee/jest-preset-angular/issues/1058 --- apps/whiskmate/tsconfig.spec.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/whiskmate/tsconfig.spec.json b/apps/whiskmate/tsconfig.spec.json index b6347c6f..e7d525ae 100644 --- a/apps/whiskmate/tsconfig.spec.json +++ b/apps/whiskmate/tsconfig.spec.json @@ -3,7 +3,8 @@ "compilerOptions": { "outDir": "../../dist/out-tsc", "module": "commonjs", - "types": ["jest", "node"] + "types": ["jest", "node"], + "target": "es2016" }, "files": ["src/test-setup.ts"], "include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]