Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Nov 5, 2024
1 parent 5ba476d commit 047a9c8
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { selectors as labwareIngredSelectors } from '../../../labware-ingred/sel
import { AssignLiquidsModal, ProtocolNavBar } from '../../../organisms'
import { LiquidsOverflowMenu } from '../../Designer/LiquidsOverflowMenu'
import { Liquids } from '..'

import type { NavigateFunction } from 'react-router-dom'

const mockNavigate = vi.fn()
Expand Down Expand Up @@ -57,10 +58,4 @@ describe('Liquids', () => {
screen.getByText('mock ProtocolNavBar')
screen.getByText('mock AssignLiquidsModal')
})

it('renders the liquids button overflow menu', () => {
render()
fireEvent.click(screen.getByText('Liquids'))
screen.getByText('mock LiquidsOverflowMenu')
})
})

0 comments on commit 047a9c8

Please sign in to comment.