feat [X-01]: я тут накоммитил
This commit is contained in:
1 parent
aa7d224b79
commit
f9d4f19e6e
43 files changed
+13359
-536
No files matched your search
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
testEnvironment: 'jest-environment-jsdom',
|
||||
setupFiles: ['<rootDir>/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',
|
||||
'\\.(png|jpe?g|gif|svg)$': '<rootDir>/__mocks__/fileMock.js',
|
||||
},
|
||||
transformIgnorePatterns: ['/node_modules/(?!(vuetify)/)'],
|
||||
collectCoverage: true,
|
||||
coverageReporters: ['json', 'html'],
|
||||
coverageDirectory: './docs/test-coverage',
|
||||
};
|
||||
Reference in new issue
Block a user