Skip to content

Commit

Permalink
feat(DataList): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcfaul committed Sep 22, 2020
1 parent b0a4f10 commit e7c3c1f
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ exports[`DataList should match snapshot (auto-generated) 1`] = `
<ContextProvider
value={
Object {
"dragEnd": [Function],
"dragKeyHandler": [Function],
"dragStart": [Function],
"isDraggable": false,
"isSelectable": true,
"selectedDataListItemId": "''",
"updateSelectedDataListItem": [Function],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`DataListCheck should match snapshot (auto-generated) 1`] = `
<div
className="pf-c-data-list__item-control ''"
>
<Fragment>
<div
className="pf-c-data-list__check"
className="pf-c-data-list__item-control ''"
>
<input
aria-invalid={false}
aria-labelledby="string"
checked={null}
disabled={false}
onChange={[Function]}
type="checkbox"
/>
<div
className="pf-c-data-list__check"
>
<input
aria-invalid={false}
aria-labelledby="string"
checked={null}
disabled={false}
onChange={[Function]}
type="checkbox"
/>
</div>
</div>
</div>
</Fragment>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ exports[`DataList List 1`] = `
<ContextProvider
value={
Object {
"dragEnd": [Function],
"dragKeyHandler": [Function],
"dragStart": [Function],
"isDraggable": false,
"isSelectable": false,
"selectedDataListItemId": "",
"updateSelectedDataListItem": [Function],
Expand All @@ -136,6 +140,10 @@ exports[`DataList List compact 1`] = `
<ContextProvider
value={
Object {
"dragEnd": [Function],
"dragKeyHandler": [Function],
"dragStart": [Function],
"isDraggable": false,
"isSelectable": false,
"selectedDataListItemId": "",
"updateSelectedDataListItem": [Function],
Expand All @@ -153,6 +161,10 @@ exports[`DataList List default 1`] = `
<ContextProvider
value={
Object {
"dragEnd": [Function],
"dragKeyHandler": [Function],
"dragStart": [Function],
"isDraggable": false,
"isSelectable": false,
"selectedDataListItemId": "",
"updateSelectedDataListItem": [Function],
Expand All @@ -166,6 +178,28 @@ exports[`DataList List default 1`] = `
</ContextProvider>
`;

exports[`DataList List draggable 1`] = `
<ContextProvider
value={
Object {
"dragEnd": [Function],
"dragKeyHandler": [Function],
"dragStart": [Function],
"isDraggable": true,
"isSelectable": false,
"selectedDataListItemId": "",
"updateSelectedDataListItem": [Function],
}
}
>
<ul
aria-label="this is a simple list"
className="pf-c-data-list pf-m-compact"
onDragOver={[Function]}
/>
</ContextProvider>
`;

exports[`DataList item row default 1`] = `
<div
className="pf-c-data-list__item-row"
Expand Down

0 comments on commit e7c3c1f

Please sign in to comment.