From 920f96c4bd4035d350b96c7b40aed0ab0a3ea792 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Mon, 11 Dec 2023 19:31:59 +0700 Subject: [PATCH] test: modify test files to JavaScript --- jest.config.json | 3 +-- src/{main.test.ts => main.test.js} | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename src/{main.test.ts => main.test.js} (100%) diff --git a/jest.config.json b/jest.config.json index 14a31f3..c956a4f 100644 --- a/jest.config.json +++ b/jest.config.json @@ -8,9 +8,8 @@ "statements": 100 } }, - "extensionsToTreatAsEsm": [".ts", ".mts"], "moduleNameMapper": { "^(\\.{1,2}/.*)\\.mjs$": "/dist/$1.mjs" }, - "testMatch": ["**/*.test.ts"] + "testMatch": ["**/*.test.js"] } diff --git a/src/main.test.ts b/src/main.test.js similarity index 100% rename from src/main.test.ts rename to src/main.test.js