13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
testMatch: ['**/tests/**/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.ts$': ['ts-jest', {
|
|
tsconfig: 'tsconfig.test.json',
|
|
}],
|
|
},
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/miniprogram/$1',
|
|
},
|
|
}
|