Skip to content

Commit

Permalink
Test fixes and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Sep 14, 2023
1 parent 7cb1a1c commit 062fa01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('UpdateInProgressModal', () => {
})
it('renders test and progress bar', () => {
const { getByText } = render(props)
getByText('Updating Right Pipette firmware...')
getByText('Updating pipette firmware...')
getByText('12')
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ describe('DeviceReset', () => {
const clearButton = getByText('Clear data and restart robot')
fireEvent.click(clearButton)
getByText('Are you sure you want to reset your device?')
getByText(
`This will permanently delete all protocol, calibration, and other data. You'll have to redo initial setup before using the robot again.`
)
fireEvent.click(getByText('Confirm'))
expect(dispatchApiRequest).toBeCalledWith(
mockResetConfig('mockRobot', clearMockResetOptions)
Expand Down

0 comments on commit 062fa01

Please sign in to comment.