refactor [P-137]: изолирование документации
This commit is contained in:
1 parent
15e7f45919
commit
895ba23872
352 files changed
+214150
-1593
No files matched your search
@@ -0,0 +1,22 @@
|
||||
module.exports = {
|
||||
rootDir: '../',
|
||||
testEnvironment: 'jest-environment-jsdom',
|
||||
roots: ['<rootDir>/src/front/src'],
|
||||
setupFilesAfterEnv: ['<rootDir>/documentation/jest.setup.js'],
|
||||
transform: {
|
||||
'^.+\\.vue$': '@vue/vue3-jest',
|
||||
'^.+\\.mjs$': 'babel-jest',
|
||||
'^.+\\.js$': 'babel-jest',
|
||||
'\\.(png|jpe?g|gif|svg)$': 'jest-transform-stub',
|
||||
},
|
||||
moduleFileExtensions: ['js', 'json', 'vue', 'mjs'],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/front/src/$1',
|
||||
},
|
||||
transformIgnorePatterns: ['/node_modules/(?!(vuetify|quasar)/)'],
|
||||
collectCoverage: true,
|
||||
collectCoverageFrom: ['<rootDir>/src/front/src/**/*.{js,vue}'],
|
||||
coveragePathIgnorePatterns: ['/documentation/'],
|
||||
coverageReporters: ['json', 'html'],
|
||||
coverageDirectory: '<rootDir>documentation/docs/public/test-coverage',
|
||||
};
|
||||
Reference in new issue
Block a user