diff options
Diffstat (limited to 'jest.config.js')
| -rw-r--r-- | jest.config.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..fbde747 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,11 @@ +/** @type {import('ts-jest').JestConfigWithTsJest} **/ +const config = { + preset: 'ts-jest/presets/default-esm', + moduleNameMapper: { + '^(\\.{1,2}/.*)\\.js$': '$1', + }, + testEnvironment: 'node', + testMatch: ['<rootDir>/src/**/*.test.ts'], +} + +export default config |
