Skip to content

Commit 30d47c9

Browse files
kobenguyentCopilot
andauthored
Update asyncWrapper.js
Co-authored-by: Copilot <[email protected]>
1 parent b861449 commit 30d47c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mocha/asyncWrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ module.exports.injected = function (fn, suite, hookName) {
134134
if (hookName === 'afterSuite') {
135135
suiteTestFailedHookError(suite, err, hookName)
136136
// Emit event.suite.after for the suite
137-
event.emit(event.suite.after, suite, err, hookName)
137+
event.emit(event.suite.after, suite)
138138
}
139139
recorder.add(() => doneFn(err))
140140
}

0 commit comments

Comments
 (0)