Skip to content

Commit

Permalink
fix(app): interventional modal test remove link (#13527)
Browse files Browse the repository at this point in the history
fix interventional modal unit test and module overflow menu unit test
  • Loading branch information
jerader authored Sep 12, 2023
1 parent 91002f0 commit fd5cea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ describe('InterventionModal', () => {
}
})

it('renders an InterventionModal with the robot name in the header, learn more link, and confirm button', () => {
it('renders an InterventionModal with the robot name in the header and confirm button', () => {
const { getByText, getByRole } = render(props)
getByText('Pause on Otie')
getByText('Learn more about manual steps')
// getByText('Learn more about manual steps')
getByRole('button', { name: 'Confirm and resume' })
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ describe('ModuleOverflowMenu', () => {
})

it('a mock function should be called when clicking Calibrate if pipette is ready', () => {
mockUseIsOT3.mockReturnValue(true)
props = {
...props,
isPipetteReady: true,
Expand Down

0 comments on commit fd5cea2

Please sign in to comment.