mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 06:24:26 +01:00
3c658dff23
* Update JS dependencies - Update all JS dependencies minus vue and vue-loader - Adapt to jest 28 - Add new eslint rules - Tested Mermaid and Swagger-UI * switch to @happy-dom/jest-environment for faster tests * bump eslint env to es2022
12 lines
297 B
JavaScript
12 lines
297 B
JavaScript
export default {
|
|
rootDir: 'web_src',
|
|
setupFilesAfterEnv: ['jest-extended/all'],
|
|
testEnvironment: '@happy-dom/jest-environment',
|
|
testMatch: ['<rootDir>/**/*.test.js'],
|
|
testTimeout: 20000,
|
|
transform: {
|
|
'\\.svg$': '<rootDir>/js/testUtils/jestRawLoader.js',
|
|
},
|
|
verbose: false,
|
|
};
|
|
|