-
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(TableToolbar): update test to RTL (#13169)
Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
- Loading branch information
1 parent
55c8201
commit dba4de9
Showing
2 changed files
with
41 additions
and
13 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
11 changes: 4 additions & 7 deletions
11
packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbar-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,13 +1,10 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`DataTable.TableToolbar should render 1`] = ` | ||
<TableToolbar | ||
aria-label="data table toolbar" | ||
className="custom-class" | ||
> | ||
exports[`TableToolbar renders as expected - Component API should render 1`] = ` | ||
<div> | ||
<section | ||
aria-label="data table toolbar" | ||
className="cds--table-toolbar" | ||
class="cds--table-toolbar" | ||
/> | ||
</TableToolbar> | ||
</div> | ||
`; |