Files
huike-front/jest.config.js
T
weli a661e439a0 chore: initialize frontend repo with teaching terminology updates
Add the current frontend codebase with a baseline .gitignore and update piano-specific UI terms to teaching-oriented terms for the current product context.

Made-with: Cursor
2026-04-23 16:37:14 +08:00

13 lines
385 B
JavaScript

const path = require('path')
module.exports = {
rootDir: path.resolve(__dirname),
preset: '@vue/cli-plugin-unit-jest/presets/typescript',
coverageDirectory: '<rootDir>/coverage',
collectCoverage: true,
modulePaths: ['<rootDir>'],
transform: {
'^.+\\.vue$': '@vue/vue3-jest'
},
testMatch: ['<rootDir>/tests/unit/**/*.spec.[jt]s', '<rootDir>/**/__tests__/*.[jt]s']
}