1
1
mirror of https://github.com/go-gitea/gitea synced 2024-10-31 23:34:25 +00:00
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

12 lines
191 B
JavaScript

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