From 208ab7c63f25c157b6ad1cd8bd3bbf5f7d5bd8e1 Mon Sep 17 00:00:00 2001 From: Negezor Date: Fri, 28 Jul 2023 02:37:14 +1100 Subject: [PATCH] chore: update jest config --- jest.config.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jest.config.json b/jest.config.json index 9a3fdfe..15ed40e 100644 --- a/jest.config.json +++ b/jest.config.json @@ -1,7 +1,11 @@ { - "name": "cacher-monorepo", "verbose": true, - "preset": "ts-jest", + "preset": "ts-jest/presets/default-esm", "testEnvironment": "node", - "testMatch": ["/packages/*/test/*.test.ts"] + "testMatch": ["/{services,shared}/*/test/**/*.test.ts"], + "globals": { + "ts-jest": { + "useESM": true + } + } }