Skip to content

Commit

Permalink
update to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
van-go committed Dec 19, 2023
1 parent fbce247 commit f8de2d7
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ describe('DataFilesToolbar', () => {
},
listing: { selected: { FilesListing: [] } },
systems: systemsFixture,
projects: {metadata: []},
authenticatedUser: {user: {username: 'testuser' }},
}),
createMemoryHistory()
);
Expand Down Expand Up @@ -82,6 +84,8 @@ describe('DataFilesToolbar', () => {
},
listing: { selected: { FilesListing: [] } },
systems: systemsFixture,
projects: {metadata: []},
authenticatedUser: {user: {username: 'testuser' }},
}),
createMemoryHistory()
);
Expand Down Expand Up @@ -114,6 +118,8 @@ describe('DataFilesToolbar', () => {
},
listing: { selected: { FilesListing: [] } },
systems: systemsFixture,
projects: {metadata: []},
authenticatedUser: {user: {username: 'testuser' }},
}),
createMemoryHistory()
);
Expand Down Expand Up @@ -146,6 +152,8 @@ describe('DataFilesToolbar', () => {
},
listing: { selected: { FilesListing: [] } },
systems: systemsFixture,
projects: {metadata: []},
authenticatedUser: {user: {username: 'testuser' }},
}),
createMemoryHistory()
);
Expand Down Expand Up @@ -187,6 +195,8 @@ describe('DataFilesToolbar', () => {
operationStatus: { trash: false },
},
systems: systemsFixture,
projects: {metadata: []},
authenticatedUser: {user: {username: 'testuser' }},
}),
createMemoryHistory()
);
Expand Down Expand Up @@ -218,6 +228,8 @@ describe('DataFilesToolbar', () => {
},
//listing: { } },
systems: systemsFixture,
projects: {metadata: []},
authenticatedUser: {user: {username: 'testuser' }},
}),
createMemoryHistory()
);
Expand Down

0 comments on commit f8de2d7

Please sign in to comment.