From eb67c86213e243ddb13dc98613d800c5a13173b6 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Wed, 12 Aug 2020 15:22:26 -0700 Subject: [PATCH] test: fix it.fail().slow is not a function (#3420) --- test/runner/fixturesUI.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/runner/fixturesUI.js b/test/runner/fixturesUI.js index 82d0dac40e..51d82c9426 100644 --- a/test/runner/fixturesUI.js +++ b/test/runner/fixturesUI.js @@ -119,6 +119,7 @@ function fixturesUI(trialRun, suite) { return condition ? context.xit : context.it; }; context.it.slow = () => itBuilder(['slow']); + context.xit.slow = () => context.xit; context.it.retries = function(n) { context.retries(n); };