Skip to content

Commit

Permalink
patch: remove context around async test
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Oct 17, 2020
1 parent 9de029c commit e5eac8f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/vest/src/core/test/runAsyncTest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,11 @@ const runAsyncTest = testObject => {
testObject.fail();
});
};
context.run({ currentTest: testObject }, () => {
try {
asyncTest.then(done, fail);
} catch (e) {
fail();
}
});
try {
asyncTest.then(done, fail);
} catch (e) {
fail();
}
};

/**
Expand Down

0 comments on commit e5eac8f

Please sign in to comment.