Skip to content

fix the 20ul tip flow acceleration to match the factory testing #42083

fix the 20ul tip flow acceleration to match the factory testing

fix the 20ul tip flow acceleration to match the factory testing #42083

Triggered via push January 28, 2025 18:43
Status Failure
Total duration 13m 56s
Artifacts
Determine build variant and type
0s
Determine build variant and type
Matrix: backend-unit-test
opentrons app frontend unit tests
13m 44s
opentrons app frontend unit tests
Matrix: build-app
Deploy built app artifacts to S3
0s
Deploy built app artifacts to S3
Fit to window
Zoom out
Zoom in

Annotations

23 errors
opentrons app-shell unit tests on ubuntu-22.04
Process completed with exit code 2.
opentrons discovery-client unit tests on ubuntu-22.04
The job was canceled because "ubuntu-22_04_app-shell" failed.
opentrons discovery-client unit tests on ubuntu-22.04
The operation was canceled.
opentrons app-shell unit tests on windows-2022
The job was canceled because "ubuntu-22_04_app-shell" failed.
opentrons app-shell unit tests on windows-2022
The operation was canceled.
opentrons app-shell-odd unit tests on ubuntu-22.04
The job was canceled because "ubuntu-22_04_app-shell" failed.
opentrons app-shell-odd unit tests on ubuntu-22.04
The operation was canceled.
opentrons discovery-client unit tests on windows-2022
The job was canceled because "ubuntu-22_04_app-shell" failed.
opentrons discovery-client unit tests on windows-2022
The operation was canceled.
opentrons discovery-client unit tests on macos-latest
The job was canceled because "ubuntu-22_04_app-shell" failed.
opentrons discovery-client unit tests on macos-latest
The operation was canceled.
opentrons app-shell unit tests on macos-latest
The job was canceled because "ubuntu-22_04_app-shell" failed.
opentrons app-shell unit tests on macos-latest
The operation was canceled.
app/src/molecules/ModuleIcon/__tests__/ModuleIcon.test.tsx: app/src/molecules/ModuleIcon/__tests__/ModuleIcon.test.tsx#L14
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/molecules/ModuleIcon/__tests__/ModuleIcon.test.tsx:14:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/organisms/InterventionModal/__tests__/utils.test.ts: app/src/organisms/InterventionModal/__tests__/utils.test.ts#L10
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/organisms/InterventionModal/__tests__/utils.test.ts:10:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/organisms/LiquidsLabwareDetailsModal/__tests__/LiquidsLabwareDetailsModal.test.tsx: app/src/organisms/LiquidsLabwareDetailsModal/__tests__/LiquidsLabwareDetailsModal.test.tsx#L27
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/organisms/LiquidsLabwareDetailsModal/__tests__/LiquidsLabwareDetailsModal.test.tsx:27:25 Caused by: Caused by: Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ components/src/hooks/useSelectDeckLocation/index.tsx:6:31 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/organisms/RunTimeControl/__tests__/hooks.test.tsx: app/src/organisms/RunTimeControl/__tests__/hooks.test.tsx#L14
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/organisms/RunTimeControl/__tests__/hooks.test.tsx:14:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/resources/instruments/__tests__/useTipAttachmentStatus.test.ts: app/src/resources/instruments/__tests__/useTipAttachmentStatus.test.ts#L13
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/resources/instruments/__tests__/useTipAttachmentStatus.test.ts:13:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/resources/runs/__tests__/useLPCDisabledReason.test.tsx: app/src/resources/runs/__tests__/useLPCDisabledReason.test.tsx#L19
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/resources/runs/__tests__/useLPCDisabledReason.test.tsx:19:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/resources/runs/__tests__/useRunPipetteInfoByMount.test.tsx: app/src/resources/runs/__tests__/useRunPipetteInfoByMount.test.tsx#L16
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/resources/runs/__tests__/useRunPipetteInfoByMount.test.tsx:16:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/organisms/Desktop/AdvancedSettings/__tests__/ClearUnavailableRobots.test.tsx: app/src/organisms/Desktop/AdvancedSettings/__tests__/ClearUnavailableRobots.test.tsx#L16
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/organisms/Desktop/AdvancedSettings/__tests__/ClearUnavailableRobots.test.tsx:16:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/organisms/Desktop/CalibrateDeck/__tests__/CalibrateDeck.test.tsx: app/src/organisms/Desktop/CalibrateDeck/__tests__/CalibrateDeck.test.tsx#L16
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/organisms/Desktop/CalibrateDeck/__tests__/CalibrateDeck.test.tsx:16:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }
app/src/organisms/Desktop/CalibratePipetteOffset/__tests__/CalibratePipetteOffset.test.tsx: app/src/organisms/Desktop/CalibratePipetteOffset/__tests__/CalibratePipetteOffset.test.tsx#L16
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ app/src/organisms/Desktop/CalibratePipetteOffset/__tests__/CalibratePipetteOffset.test.tsx:16:25 Caused by: Caused by: Error: Failed to parse JSON file, invalid JSON syntax found at position 520 Plugin: vite:json File: /home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json:19:6 17 | }, 18 | "defaultFlowAcceleration": 3160.0 19 | "defaultTipLength": 52.0, | ^ 20 | "defaultReturnTipHeight": 0.6, 21 | "aspirate": { ❯ formatError node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50824:46 ❯ TransformContext.error node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50818:19 ❯ TransformContext.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48841:22 ❯ Object.transform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:51133:62 ❯ loadAndTransform node_modules/vitest/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:53888:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __vitest_rollup_error__: { plugin: 'vite:json', id: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', loc: { file: '/home/runner/work/opentrons/opentrons/shared-data/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json', line: 19, column: 6 }, frame: '17 | },\n18 | "defaultFlowAcceleration": 3160.0\n19 | "defaultTipLength": 52.0,\n | ^\n20 | "defaultReturnTipHeight": 0.6,\n21 | "aspirate": {' } }