Skip to content

Commit d25b7b1

Browse files
committed
fix: increase timeout for failing test
1 parent edfb4c4 commit d25b7b1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/__tests__/render-basics.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ const isRunning = require('is-running')
33
const {render} = require('../pure')
44
const {fireEvent} = require('../events')
55
const {waitFor} = require("../wait-for");
6+
const {getConfig, configure} = require("../config");
7+
8+
let originalConfig
9+
beforeEach(() => {
10+
originalConfig = getConfig()
11+
configure({asyncUtilTimeout: 15000})
12+
})
13+
14+
afterEach(() => {
15+
configure(originalConfig)
16+
})
617

718
test('Should handle stderr outputs with rejection', async () => {
819
await expect(() =>

0 commit comments

Comments
 (0)