-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test asserting we can have hooks in blocks with skipped tests
- Loading branch information
1 parent
cc417a2
commit 6dd3919
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
e2e/__tests__/__snapshots__/empty-describe-with-hooks.test.js.snap
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
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
11 changes: 11 additions & 0 deletions
11
e2e/empty-describe-with-hooks/__tests__/hook-in-describe-with-skipped-test.test.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,11 @@ | ||
/** | ||
* Copyright (c) 2018-present, Facebook, Inc. All rights reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
describe('a block', () => { | ||
beforeEach(() => {}); | ||
test.skip('skipped test', () => {}); | ||
}); |