diff --git a/extensions/it-optional.js b/extensions/it-optional.js index e14f488a32..4850660010 100644 --- a/extensions/it-optional.js +++ b/extensions/it-optional.js @@ -1,5 +1,5 @@ -function testOptional(title, fn, isAsync) { - if (isAsync) { +function testOptional(title, fn, isAsyncTest) { + if (isAsyncTest) { it(title, function test(done) { try { fn.call(this, done);