1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-12 13:14:24 +00:00
gitea/jest.config.js

13 lines
292 B
JavaScript
Raw Normal View History

export default {
rootDir: 'web_src',
setupFilesAfterEnv: ['jest-extended/all'],
testEnvironment: 'jest-environment-jsdom',
testMatch: ['<rootDir>/**/*.test.js'],
testTimeout: 20000,
transform: {
'\\.svg$': '<rootDir>/js/testUtils/jestRawLoader.js',
},
verbose: false,
};