-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(selection): update to rtl (#13073)
* test(selection): update to rtl * test(selection): remove obsolete snapshot --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f4c904c
commit 6edae3e
Showing
2 changed files
with
89 additions
and
93 deletions.
There are no files selected for viewing
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
27 changes: 3 additions & 24 deletions
27
packages/react/src/internal/__tests__/__snapshots__/Selection-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,7 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Selection should render 1`] = ` | ||
<Selection | ||
initialSelectedItems={Array []} | ||
render={ | ||
[MockFunction] { | ||
"calls": Array [ | ||
Array [ | ||
Object { | ||
"clearSelection": [Function], | ||
"onItemChange": [Function], | ||
"selectedItems": Array [], | ||
}, | ||
], | ||
], | ||
"results": Array [ | ||
Object { | ||
"type": "return", | ||
"value": <div />, | ||
}, | ||
], | ||
} | ||
} | ||
> | ||
exports[`Selection renders as expected - Component API should render 1`] = ` | ||
<div> | ||
<div /> | ||
</Selection> | ||
</div> | ||
`; |