jest.config.js 334 字节
Newer Older
L
LeoKu 已提交
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * For a detailed explanation regarding each configuration property and type check, visit:
 * https://jestjs.io/docs/configuration
 */

module.exports = {
  moduleNameMapper: {
    '^@/(.*)$': '<rootDir>/src/$1',
  },

  clearMocks: true,

L
LeoKu 已提交
13
  collectCoverage: false,
L
LeoKu 已提交
14 15 16 17 18

  coverageDirectory: 'coverage',

  testEnvironment: 'jsdom',
}