test: fix it.fail().slow is not a function (#3420)

This commit is contained in:
Dmitry Gozman 2020-08-12 15:22:26 -07:00 committed by GitHub
parent 40f685226b
commit eb67c86213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
};