-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
test/integration/fixtures/pending/skip-sync-after.fixture.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
'use strict'; | ||
|
||
describe('skip in after', function () { | ||
it('should run this test', function () {}); | ||
|
||
after('should print DeprecationWarning', function () { | ||
this.skip(); | ||
throw new Error('never throws this error'); | ||
}); | ||
}); | ||
|
||
describe('second suite', function () { | ||
it('should run this test', function () {}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
test/integration/fixtures/pending/skip-sync-afterEach.fixture.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
describe('skip in afterEach', function () { | ||
it('should run this test', function () {}); | ||
it('should run this test', function () {}); | ||
|
||
afterEach('should print DeprecationWarning', function () { | ||
this.skip(); | ||
throw new Error('never throws this error'); | ||
}); | ||
}); | ||
|
||
describe('second suite', function () { | ||
it('should run this test', function () {}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters