forked from forgejo/forgejo
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
This commit is contained in:
parent
44286e29f0
commit
05fb1f61d5
2 changed files with 3 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
export default {
|
||||
setupFilesAfterEnv: ['jest-extended'],
|
||||
testTimeout: 20000,
|
||||
rootDir: 'web_src',
|
||||
testMatch: [
|
||||
'**/web_src/**/*.test.js',
|
||||
'<rootDir>/**/*.test.js',
|
||||
],
|
||||
transform: {},
|
||||
verbose: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue