Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Mar 1, 2024
1 parent f219dc5 commit 3fa4661
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('ProtocolRunModuleControls', () => {

it('renders a magnetic module card', () => {
when(mockUseModuleRenderInfoForProtocolById)
.calledWith(RUN_ID)
.calledWith(RUN_ID, true)
.mockReturnValue({
[mockMagMod.moduleId]: {
moduleId: 'magModModuleId',
Expand All @@ -102,7 +102,7 @@ describe('ProtocolRunModuleControls', () => {

it('renders a temperature module card', () => {
when(mockUseModuleRenderInfoForProtocolById)
.calledWith(RUN_ID)
.calledWith(RUN_ID, true)
.mockReturnValue({
[mockTempMod.moduleId]: {
moduleId: 'temperatureModuleId',
Expand All @@ -129,7 +129,7 @@ describe('ProtocolRunModuleControls', () => {

it('renders a thermocycler module card', () => {
when(mockUseModuleRenderInfoForProtocolById)
.calledWith(RUN_ID)
.calledWith(RUN_ID, true)
.mockReturnValue({
[mockTCModule.moduleId]: {
moduleId: mockTCModule.moduleId,
Expand Down Expand Up @@ -158,7 +158,7 @@ describe('ProtocolRunModuleControls', () => {

it('renders a heater-shaker module card', () => {
when(mockUseModuleRenderInfoForProtocolById)
.calledWith(RUN_ID)
.calledWith(RUN_ID, true)
.mockReturnValue({
[mockHeaterShakerDef.moduleId]: {
moduleId: 'heaterShakerModuleId',
Expand Down Expand Up @@ -186,7 +186,7 @@ describe('ProtocolRunModuleControls', () => {

it('renders correct text when module is not attached but required for protocol', () => {
when(mockUseModuleRenderInfoForProtocolById)
.calledWith(RUN_ID)
.calledWith(RUN_ID, true)
.mockReturnValue({
[mockHeaterShakerDef.moduleId]: {
moduleId: 'heaterShakerModuleId',
Expand Down

0 comments on commit 3fa4661

Please sign in to comment.