Skip to content

Commit

Permalink
Add test.serial.failing.{only|skip} implementations
Browse files Browse the repository at this point in the history
Fixes #1898.
  • Loading branch information
Phrynobatrachus authored and novemberborn committed Aug 21, 2018
1 parent 846920a commit 0ecd0be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/create-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ function createChain(fn, defaults) {
extendChain(root.serial.cb, 'skip', 'skipped');
extendChain(root.serial.cb.failing, 'only', 'exclusive');
extendChain(root.serial.cb.failing, 'skip', 'skipped');
extendChain(root.serial.failing, 'only', 'exclusive');
extendChain(root.serial.failing, 'skip', 'skipped');

root.after = createHookChain(startChain('test.after', fn, Object.assign({}, defaults, {type: 'after'})), true);
root.afterEach = createHookChain(startChain('test.afterEach', fn, Object.assign({}, defaults, {type: 'afterEach'})), true);
Expand Down

0 comments on commit 0ecd0be

Please sign in to comment.