Skip to content

Commit 807355d

Browse files
committed
increase global jest/testing-library timeouts
1 parent f2db766 commit 807355d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ module.exports = {
3838
],
3939
},
4040
moduleNameMapper,
41+
testTimeout: 60000,
4142
};

test-setup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ global.Request = Request;
3939

4040
/** Mock scrollTo as it is not supported by JSDOM */
4141
global.scrollTo = jest.fn();
42+
43+
const { configure: configureReact } = require('@testing-library/react');
44+
45+
configureReact({ asyncUtilTimeout: 15000 });

0 commit comments

Comments
 (0)