Skip to content

Commit

Permalink
Fix ci (#6356)
Browse files Browse the repository at this point in the history
* fix: re-add `skipSuiteOnJestCircus`

* fix: update snapshot after landing #6234
  • Loading branch information
SimenB committed May 30, 2018
1 parent e5a4b94 commit 84f0ea3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ finish_describe_definition: describe
run_start
run_describe_start: ROOT_DESCRIBE_BLOCK
run_describe_start: describe
hook_start: beforeAll
hook_success: beforeAll
run_describe_start: child describe
test_start: my test
hook_start: beforeEach
Expand All @@ -25,8 +23,6 @@ hook_start: afterEach
hook_success: afterEach
test_done: my test
run_describe_finish: child describe
hook_start: afterAll
hook_success: afterAll
run_describe_finish: describe
run_describe_finish: ROOT_DESCRIBE_BLOCK
run_finish
Expand All @@ -45,10 +41,6 @@ finish_describe_definition: describe
run_start
run_describe_start: ROOT_DESCRIBE_BLOCK
run_describe_start: describe
hook_start: beforeAll
hook_success: beforeAll
hook_start: afterAll
hook_success: afterAll
run_describe_finish: describe
run_describe_finish: ROOT_DESCRIBE_BLOCK
run_finish
Expand Down
8 changes: 8 additions & 0 deletions scripts/ConditionalTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ const ConditionalTest = {
}
},

skipSuiteOnJestCircus() {
if (this.isJestCircusRun()) {
fit('does not work on jest-circus', () => {
console.warn('[SKIP] Does not work on jest-circus');
});
}
},

skipSuiteOnWindows() {
if (process.platform === 'win32') {
fit('does not work on Windows', () => {
Expand Down

0 comments on commit 84f0ea3

Please sign in to comment.