Configure test env

This commit is contained in:
Sakura Knoll
2023-07-09 07:30:16 +09:00 Unverified
parent b40c0ec38e
commit d947b62514
3 changed files with 6787 additions and 171 deletions
+13
View File
@@ -0,0 +1,13 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
// preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
isolatedModules: true
}
]
}
}