DEV: Mark flaky tests as pending

This commit is contained in:
romanrizzi
2019-04-30 15:01:21 -03:00
parent 812905cbb6
commit 84a3459af6
8 changed files with 14 additions and 12 deletions

View File

@ -50,6 +50,12 @@ export default function(name, opts) {
andThen(() => {
return this.render(opts.template);
});
andThen(() => opts.test.call(this, assert));
andThen(() => {
if (opts.skip) {
assert.expect(0);
} else {
opts.test.call(this, assert);
}
});
});
}