Commit 1864a62b4bc0639c0ff502cdda51cd382c09b142

Authored by wesley88
1 parent 8e6b81ee

1

admin-web-master/jest.config.js
... ... @@ -10,7 +10,7 @@ module.exports = {
10 10 '^@/(.*)$': '<rootDir>/src/$1'
11 11 },
12 12 snapshotSerializers: ['jest-serializer-vue'],
13   - testMatch: [
  13 + testMatch: [
14 14 '**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
15 15 ],
16 16 collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'],
... ...