chore: test suite

This commit is contained in:
2026-03-15 11:44:23 +08:00
parent 0ec129c2be
commit 92dac64326
3 changed files with 5645 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
tsconfig: {
target: 'ES2020',
module: 'ESNext',
moduleResolution: 'node',
esModuleInterop: true,
strict: true,
skipLibCheck: true
}
}
]
}
};