From 68aa26be6f08bd0ddb9ee75286d5130412acefd8 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 10 Sep 2023 11:12:30 -0400 Subject: [PATCH] Enable esm support in jest --- jestconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jestconfig.json b/jestconfig.json index 771d3c8..19c2be5 100644 --- a/jestconfig.json +++ b/jestconfig.json @@ -20,5 +20,6 @@ "TEST": true }, "testRegex": "/test/.*\\.test\\.ts$", - "collectCoverageFrom": ["src/**/*.{ts,js}"] + "collectCoverageFrom": ["src/**/*.{ts,js}"], + "useESM": true }