Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(gateway-section): update mock data to match new gateway shape

Steven Enamakel912138675d92
diff --git a/app/src/components/settings/panels/core/__tests__/GatewaySection.render.test.tsx b/app/src/components/settings/panels/core/__tests__/GatewaySection.render.test.tsx
index 07b2146281..f0fa05488e 100644
--- a/app/src/components/settings/panels/core/__tests__/GatewaySection.render.test.tsx
+++ b/app/src/components/settings/panels/core/__tests__/GatewaySection.render.test.tsx
@@ -40,15 +40,11 @@ vi.mock('../../../../../services/coreRpcClient', () => ({
clearCoreRpcTokenCache: hoisted.clearCoreRpcTokenCache,
}));
-const DESKTOP = { id: 'desktop', label: 'This computer', spec: { kind: 'desktop' as const } };
+const DESKTOP = { id: 'desktop', label: 'This computer', kind: 'desktop' };
const BUILDER = {
id: 'builder',
label: 'Build server',
- spec: {
- kind: 'box' as const,
- reach: { kind: 'ssh' as const, destination: '[email protected]' },
- confinement: { kind: 'docker' as const, image: 'openhuman-core:local' },
- },
+ kind: 'ssh+docker',
};
beforeEach(() => {