mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:45:43 +03: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,
|
|
};
|
|
|