- attempt to move to ESM from CJS

This commit is contained in:
Mike Penz
2024-12-14 12:25:28 +01:00
parent 8f930b161a
commit 30758be82d
36 changed files with 9574 additions and 10632 deletions
+7 -6
View File
@@ -1,11 +1,12 @@
module.exports = {
export default {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
moduleFileExtensions: ["js", "ts"],
moduleDirectories: ["src", "node_modules"],
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
testRunner: "jest-circus/runner",
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}
};