fix: setup Jest with TS

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2024-01-29 12:42:50 +08:00
1 parent 557af91d4b
commit a18e0d9b68
12 files changed
+45 -9

No files matched your search

+3 -1
View File
@@ -1,5 +1,7 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
// const { jsWithTs: tsjPreset } = require('ts-jest/presets')
module.exports = {
preset: 'ts-jest',
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'node',
}