test: modify test files to JavaScript

This commit is contained in:
Alfi Maulana 2023-12-11 19:31:59 +07:00
parent dbdc665137
commit 920f96c4bd
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
2 changed files with 1 additions and 2 deletions

View File

@ -8,9 +8,8 @@
"statements": 100 "statements": 100
} }
}, },
"extensionsToTreatAsEsm": [".ts", ".mts"],
"moduleNameMapper": { "moduleNameMapper": {
"^(\\.{1,2}/.*)\\.mjs$": "<rootDir>/dist/$1.mjs" "^(\\.{1,2}/.*)\\.mjs$": "<rootDir>/dist/$1.mjs"
}, },
"testMatch": ["**/*.test.ts"] "testMatch": ["**/*.test.js"]
} }