gitea/jest.config.js
silverwind 05fb1f61d5
Add jest rootDir and test-frontend dependency (#15860)
- Define jest rootDir to limit where it looks for test files
- Add missing dependency on test-frontend target so it can be ran from a
  clean checkout
2021-05-14 07:28:51 +01:00

11 lines
191 B
JavaScript

export default {
setupFilesAfterEnv: ['jest-extended'],
testTimeout: 20000,
rootDir: 'web_src',
testMatch: [
'<rootDir>/**/*.test.js',
],
transform: {},
verbose: false,
};