Browse Source

fix context in beforeEach and afterEach hooks - fixes #1004 (#1008)

hoisting-throws-helper
Sam Verschueren 8 years ago
committed by Sindre Sorhus
parent
commit
c40477a0f3
  1. 2
      types/make.js

2
types/make.js

@ -128,7 +128,7 @@ function testType(parts) {
type = 'Callback' + type;
}
if (!has('beforeEach') && !has('afterEach')) {
if (!has('before') && !has('after')) {
type = 'Contextual' + type;
}

Loading…
Cancel
Save