Merge pull request #10740 from gabrielmcoelho/patch-1

change success variable declaration
This commit is contained in:
Filipe Névola
2019-11-19 08:54:39 -04:00
committed by GitHub

View File

@@ -446,7 +446,7 @@ Meteor.isServer && Tinytest.addAsync('check - non-fiber check works', (test, onC
// Get out of a fiber with process.nextTick and ensure that we can still use
// check.
process.nextTick(() => {
const success = true;
let success = true;
if (Fiber.current) {
success = false;
}