diff --git a/app/src/organisms/Devices/ProtocolRun/__tests__/ProtocolRunSetup.test.tsx b/app/src/organisms/Devices/ProtocolRun/__tests__/ProtocolRunSetup.test.tsx index 49a0a804edf..eafbeccae5e 100644 --- a/app/src/organisms/Devices/ProtocolRun/__tests__/ProtocolRunSetup.test.tsx +++ b/app/src/organisms/Devices/ProtocolRun/__tests__/ProtocolRunSetup.test.tsx @@ -241,7 +241,7 @@ describe('ProtocolRunSetup', () => { .thenReturn({ complete: true }) }) afterEach(() => { - vi.resetAllWhenMocks() + vi.clearAllMocks() }) it('renders calibration ready if robot is Flex and modules are calibrated', () => {