Skip to content

Commit

Permalink
update PreviewAccordion.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Dec 7, 2023
1 parent 639f169 commit 3f740db
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('PreviewAccordion', () => {

it('should render preview accordion with users on initial step', () => {
const user = users[0];
const visibleColumns = Object.keys(user).map(column => ({ value: column }));
const visibleColumns = Object.keys(user).map(column => ({ value: column, selected: true }));

renderPreviewAccordion({
items: users,
Expand All @@ -120,7 +120,7 @@ describe('PreviewAccordion', () => {

it('should render preview accordion with inventory items', () => {
const item = inventoryItems[0];
const visibleColumns = Object.keys(item).map(column => ({ value: column }));
const visibleColumns = Object.keys(item).map(column => ({ value: column, selected: true }));

renderPreviewAccordion({
items: inventoryItems,
Expand All @@ -134,7 +134,7 @@ describe('PreviewAccordion', () => {

it('should render preview accordion with holding items', () => {
const holding = holdingsItems[0];
const visibleColumns = Object.keys(holding).map(column => ({ value: column }));
const visibleColumns = Object.keys(holding).map(column => ({ value: column, selected: true }));

renderPreviewAccordion({
items: holdingsItems,
Expand Down

0 comments on commit 3f740db

Please sign in to comment.