mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 05:36:16 +00: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
13 lines
297 B
JavaScript
13 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,
|
|
};
|
|
|