tmagic-editor/magic-admin/web/jest.config.js
2022-05-18 15:43:31 +08:00

9 lines
200 B
JavaScript

module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
moduleNameMapper: {
'^@src/(.*)$': '<rootDir>/src/$1',
'^@tests/(.*)$': '<rootDir>/tests/$1',
},
};