Skip to content

Commit

Permalink
Update SetupModulesMap.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Mar 5, 2024
1 parent 7d83dea commit af347ef
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import { screen } from '@testing-library/react'

import { OT2_ROBOT_TYPE } from '@opentrons/shared-data'

import { componentPropsMatcher, partialComponentPropsMatcher, renderWithProviders } from '../../../../../__testing-utils__'}
import {
componentPropsMatcher,
partialComponentPropsMatcher,
renderWithProviders,
} from '../../../../../__testing-utils__'
import { i18n } from '../../../../../i18n'
import {
mockThermocycler as mockThermocyclerFixture,
Expand Down Expand Up @@ -166,7 +170,9 @@ describe('SetupModulesMap', () => {
.thenReturn(<div>mock module info {mockMagneticModule.model}</div>)

render(props)
expect(screen.getAllByText('mock module info magneticModuleV2')).toHaveLength(2)
expect(
screen.getAllByText('mock module info magneticModuleV2')
).toHaveLength(2)
})

it('should render a deck WITH modules', () => {
Expand Down

0 comments on commit af347ef

Please sign in to comment.