Skip to content

Commit 8441f4f

Browse files
author
DavertMik
committed
fix release
1 parent 240ed49 commit 8441f4f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.7.1
2+
3+
- Fixed `reading charAt` error in `asyncWrapper.js`
4+
15
## 3.7.0
26

37
This release introduces major new features and internal refactoring. It is an important step toward the 4.0 release planned soon, which will remove all deprecations introduced in 3.7.

lib/mocha/asyncWrapper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ const injectHook = function (inject, suite) {
2222
function suiteTestFailedHookError(suite, err, hookName) {
2323
suite.eachTest(test => {
2424
test.err = err
25-
event.emit(event.test.failed, test, err, ucfirst(hookName))
25+
if (hookName) hookName = ucfirst(hookName)
26+
event.emit(event.test.failed, test, err, hookName)
2627
})
2728
}
2829

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeceptjs",
3-
"version": "3.7.0",
3+
"version": "3.7.1",
44
"description": "Supercharged End 2 End Testing Framework for NodeJS",
55
"keywords": [
66
"acceptance",

0 commit comments

Comments
 (0)