Skip to content

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

test(gatewayService): update test data to match new gateway shape

Steven Enamakel836df0b5f449
diff --git a/app/src/services/__tests__/gatewayService.test.ts b/app/src/services/__tests__/gatewayService.test.ts
index 6ba132baad..af0d66b539 100644
--- a/app/src/services/__tests__/gatewayService.test.ts
+++ b/app/src/services/__tests__/gatewayService.test.ts
@@ -94,18 +94,10 @@ describe('a build without the shell feature', () => {
});
describe('listGateways', () => {
- it('passes the shell answer through unchanged', async () => {
+ it('passes the credential-free summary through unchanged', async () => {
const gateways = [
- { id: 'desktop', label: 'This computer', spec: { kind: 'desktop' } },
- {
- id: 'builder',
- label: 'Build server',
- spec: {
- kind: 'box',
- reach: { kind: 'ssh', destination: '[email protected]' },
- confinement: { kind: 'docker', image: 'openhuman-core:latest' },
- },
- },
+ { id: 'desktop', label: 'This computer', kind: 'desktop' },
+ { id: 'builder', label: 'Build server', kind: 'ssh+docker' },
];
invoke.mockResolvedValue(gateways);