Skip to content

Commit

Permalink
fix: useFiles failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
MellyGray committed Oct 31, 2023
1 parent b224e76 commit a45afdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe('useFiles', () => {
cy.wrap(fileRepository.getAllByDatasetPersistentId).should('be.calledOnceWith', 'persistentId')

cy.findByText('Loading...').should('exist')
cy.wrap(fileRepository.getUserPermissionsById).should('be.calledWith', files[0].id)
cy.wrap(fileRepository.getUserPermissionsById).should('be.called')

cy.findByText('Loading...').should('exist')
cy.findByText('Files count: 100').should('exist')
Expand Down

0 comments on commit a45afdc

Please sign in to comment.