We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd81ef4 commit d169f0eCopy full SHA for d169f0e
index.js.flow
@@ -187,8 +187,8 @@ declare module.exports: {
187
( run: ContextualTest): void;
188
(name: string, run: ContextualTest): void;
189
190
- beforeEach : TestMethod;
191
- afterEach : TestMethod;
+ beforeEach : ContextualTestMethod;
+ afterEach : ContextualTestMethod;
192
serial : ContextualTestMethod;
193
before : ContextualTestMethod;
194
after : ContextualTestMethod;
test/flow-types/regression-1114.js.flow
@@ -26,7 +26,6 @@ test.cb(t => {
26
});
27
28
test.beforeEach(t => {
29
- // $ExpectError: Unknown property "context"
30
const context = t.context;
31
})
32
0 commit comments