Skip to content

Commit dd09f18

Browse files
author
DavertMik
committed
fixed global timeouts for BeforeAfterSuite
1 parent 7651b91 commit dd09f18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/listener/globalTimeout.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ module.exports = function () {
2222
// add separate configs to them?
2323
event.dispatcher.on(event.hook.started, hook => {
2424
if (hook instanceof BeforeSuiteHook) {
25+
timeout = null
2526
suiteTimeout = []
2627
}
2728
if (hook instanceof AfterSuiteHook) {
29+
timeout = null
2830
suiteTimeout = []
2931
}
3032
})

0 commit comments

Comments
 (0)