@openchambery/web 1.18.4-beta.2 → 1.18.4-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.test.js +25 -0
- package/bin/lib/DOCUMENTATION.md +2 -1
- package/bin/lib/cli-args.js +19 -0
- package/bin/lib/commands-serve.js +73 -4
- package/dist/assets/{AgentAvatar-BvhXxFvg.js → AgentAvatar-DDcjamcJ.js} +1 -1
- package/dist/assets/AssistantView-BKtWtK9a.js +1 -0
- package/dist/assets/{ChatContainer-Ba2Qqd2R.js → ChatContainer-CmZuBd4k.js} +42 -42
- package/dist/assets/{DiagramView--CkYLtF9.js → DiagramView-C3H0iaE1.js} +1 -1
- package/dist/assets/{FadeInOnReveal-98buIVdv.js → FadeInOnReveal-By2F9vcI.js} +1 -1
- package/dist/assets/{Icon-BhSwbLaF.js → Icon-DpjYnXxn.js} +1 -1
- package/dist/assets/{MarkdownRendererImpl-CuaQbwUx.js → MarkdownRendererImpl-Oq7v-1r2.js} +1 -1
- package/dist/assets/{MobileDetailNavigation-ld2mS8hq.js → MobileDetailNavigation-Bh_f-iat.js} +1 -1
- package/dist/assets/MobileShareBridge-BvcbH_WJ.js +4 -0
- package/dist/assets/MobileSurface-BTMvLLPa.js +2 -0
- package/dist/assets/{MultiRunWindow-kryfNvF6.js → MultiRunWindow-Cv4K6i1U.js} +1 -1
- package/dist/assets/{OnboardingScreen-C1n_wVb-.js → OnboardingScreen-BKmuT7AL.js} +1 -1
- package/dist/assets/{OverlayScrollbar-CXFN6Cqq.js → OverlayScrollbar-Ch3J6ASR.js} +1 -1
- package/dist/assets/{SettingsView-BBTUVI-a.js → SettingsView-DZT_nuTt.js} +11 -11
- package/dist/assets/{SettingsWindow-4RS_41Wb.js → SettingsWindow-Bjb84x0C.js} +1 -1
- package/dist/assets/{TerminalView-B1he4xRe.js → TerminalView-CXq2MDyL.js} +1 -1
- package/dist/assets/{ToolOutputDialog-ak07C60J.js → ToolOutputDialog-CTrqAwo1.js} +1 -1
- package/dist/assets/appThemeRegistry-D6EEEMQw.js +2 -0
- package/dist/assets/{button-BQY5ugjh.js → button-C7OXr4ae.js} +1 -1
- package/dist/assets/{clipboard-BvJ7NunE.js → clipboard-DWuULPzo.js} +1 -1
- package/dist/assets/{collapsible-CqcZGw3W.js → collapsible-DaEya6b6.js} +1 -1
- package/dist/assets/{context-menu-DSUJY2i3.js → context-menu-Cjof3V7x.js} +1 -1
- package/dist/assets/desktopHosts-Txp4xOVQ.js +1 -0
- package/dist/assets/desktopRelayRestore-C_FSEHKM.js +1 -0
- package/dist/assets/{diagram-B8D9Klct.js → diagram-CHfginjS.js} +1 -1
- package/dist/assets/{dialog-sGFkIKP2.js → dialog-DPS0W9eS.js} +1 -1
- package/dist/assets/{es-BuinIayO.js → es-BX0Vm3Ac.js} +4 -4
- package/dist/assets/fileQueries-BrUKKgPW.js +1 -0
- package/dist/assets/{fr-CT7us58h.js → fr-CuPzXTYx.js} +4 -4
- package/dist/assets/{gitApi-DtV2V_Fp.js → gitApi-mV826uOd.js} +2 -2
- package/dist/assets/{input-CgIoxUJc.js → input-BzYA603C.js} +1 -1
- package/dist/assets/insertionBoundaries-fFm8sTaK.js +1 -0
- package/dist/assets/{ja-CCuAH4nO.js → ja-DGtzjrFO.js} +4 -4
- package/dist/assets/{ko-lXbhGt6P.js → ko-DZ9Di0je.js} +4 -4
- package/dist/assets/{main-CoNVZvj1.js → main-CqaUoTu5.js} +2 -2
- package/dist/assets/main-DaX6y8EG.js +172 -0
- package/dist/assets/{markdown-worker-C5Om4TVK.js → markdown-worker-W06-MhF5.js} +1 -1
- package/dist/assets/{markdownTheme-BdF4C4-o.js → markdownTheme-B89dbj3N.js} +1 -1
- package/dist/assets/{miniChat-CYd1PMdJ.js → miniChat-CX64FVKM.js} +2 -2
- package/dist/assets/mobile-BljNuNl6.js +2 -0
- package/dist/assets/multirun-Bdv-VeHM.js +4 -0
- package/dist/assets/persistence-6sclr7B6.js +3 -0
- package/dist/assets/pl-BuCO3qb1.js +15 -0
- package/dist/assets/platform-CbeLpKPk.js +2 -0
- package/dist/assets/projectMeta-EGeQpzvX.js +3 -0
- package/dist/assets/{pt-BR-DWbGs1bc.js → pt-BR-Brf4RMsw.js} +4 -4
- package/dist/assets/radio-BPJ5XDOL.js +1 -0
- package/dist/assets/renderElectronMiniChatApp-7_MeDuZ2.js +2 -0
- package/dist/assets/renderMobileApp-J09WW2wY.js +23 -0
- package/dist/assets/runtimeConfig-DbkphGhQ.js +2 -0
- package/dist/assets/runtimeEndpointReset-DooWSsoH.js +147 -0
- package/dist/assets/{sortable-tabs-strip-pSnPuBXA.js → sortable-tabs-strip-nLsPC06f.js} +1 -1
- package/dist/assets/src-Yqt5hwRm.css +2 -0
- package/dist/assets/{store-BuXogmxp.js → store-DQY8Fkb0.js} +4 -4
- package/dist/assets/{terminalApi-jfes-HIU.js → terminalApi-BpPeXWIu.js} +1 -1
- package/dist/assets/{tooltip-rN8LrxMF.js → tooltip-D_orJMYd.js} +1 -1
- package/dist/assets/{uk-DgOxtvS7.js → uk-C-wmaPTi.js} +4 -4
- package/dist/assets/{url-B0Ak7X6b.js → url-BsaBG5-1.js} +1 -1
- package/dist/assets/useAppFontEffects-DFRR7hqN.js +7 -0
- package/dist/assets/{useAssistantUIStore-SPh025NE.js → useAssistantUIStore-BHsHXCKE.js} +1 -1
- package/dist/assets/{useDesktopWindowControlsLayout-BSHPIcFE.js → useDesktopWindowControlsLayout-7oe0nJkK.js} +1 -1
- package/dist/assets/{useEffectiveDirectory-Cbsu48gT.js → useEffectiveDirectory-DEbnpVAu.js} +1 -1
- package/dist/assets/{useFontPreferences-Bz3crRRO.js → useFontPreferences-ckzpXQaJ.js} +1 -1
- package/dist/assets/useMobileNavigationStore-CPi-bAr0.js +475 -0
- package/dist/assets/useSessionAutoCleanup-BFwpZAij.js +1 -0
- package/dist/assets/useUIStore-DzwCfRqr.js +1 -0
- package/dist/assets/{useWorkerHighlightedLines-D7ZRwkm3.js → useWorkerHighlightedLines-Cb7i5p7s.js} +1 -1
- package/dist/assets/{utils-DfPDhqys.js → utils-B1EK5zKa.js} +1 -1
- package/dist/assets/{zh-CN-BPGatJp9.js → zh-CN-DueRrIql.js} +4 -4
- package/dist/assets/{zh-TW-qUWWsaxK.js → zh-TW-6875X80V.js} +4 -4
- package/dist/index.html +9 -9
- package/dist/mini-chat.html +9 -9
- package/dist/mobile.html +9 -9
- package/package.json +1 -1
- package/server/index.d.ts +0 -4
- package/server/index.js +11 -20
- package/server/lib/client-auth/pairing.js +1 -7
- package/server/lib/client-auth/pairing.test.js +0 -45
- package/server/lib/config-sync/config-sync.test.js +52 -0
- package/server/lib/config-sync/scripts.js +10 -2
- package/server/lib/notifications/DOCUMENTATION.md +2 -1
- package/server/lib/notifications/emitter-runtime.js +78 -1
- package/server/lib/notifications/emitter-runtime.test.js +94 -1
- package/server/lib/opencode/DOCUMENTATION.md +4 -4
- package/server/lib/opencode/bootstrap-runtime.js +0 -6
- package/server/lib/opencode/cli-entry-runtime.js +5 -1
- package/server/lib/opencode/cli-entry-runtime.test.js +17 -0
- package/server/lib/opencode/core-routes.js +0 -3
- package/server/lib/opencode/core-routes.test.js +0 -15
- package/server/lib/opencode/openchamber-routes.js +0 -11
- package/server/lib/relay/DOCUMENTATION.md +3 -45
- package/server/lib/relay/host-client.js +1 -4
- package/server/lib/relay/service.js +28 -16
- package/server/lib/relay/service.test.js +64 -4
- package/server/lib/relay/tunnel-host.js +2 -52
- package/server/lib/relay/tunnel-host.test.js +2 -250
- package/server/lib/scheduled-tasks/DOCUMENTATION.md +4 -1
- package/server/lib/scheduled-tasks/routes.js +51 -8
- package/server/lib/session-assist/DOCUMENTATION.md +4 -2
- package/server/lib/session-assist/runtime.js +67 -30
- package/server/lib/session-assist/runtime.test.js +114 -0
- package/server/lib/session-title/DOCUMENTATION.md +15 -10
- package/server/lib/session-title/runtime.js +24 -0
- package/server/lib/session-title/runtime.test.js +143 -0
- package/server/lib/ui-auth/ui-auth.js +3 -1
- package/server/lib/ui-auth/ui-auth.test.js +25 -0
- package/server/sse-routes.test.js +64 -1
- package/dist/assets/AssistantView-DMK-KCPX.js +0 -1
- package/dist/assets/MobileShareBridge-lTfofNXr.js +0 -4
- package/dist/assets/MobileSurface-Bc_pAGrN.js +0 -2
- package/dist/assets/appThemeRegistry-ChhJvOPo.js +0 -2
- package/dist/assets/desktopHosts-aA40MHzB.js +0 -1
- package/dist/assets/desktopRelayRestore-CxUYRC6v.js +0 -1
- package/dist/assets/fileQueries-BSE4ycQt.js +0 -1
- package/dist/assets/insertionBoundaries-BIS62xbD.js +0 -1
- package/dist/assets/main-ClQdYXuu.js +0 -172
- package/dist/assets/mobile-CJkbELE1.js +0 -2
- package/dist/assets/multirun-DfYluvqf.js +0 -4
- package/dist/assets/persistence-DwXJK4-j.js +0 -3
- package/dist/assets/pl-DCsKBRAg.js +0 -15
- package/dist/assets/platform-CXJwZIZe.js +0 -2
- package/dist/assets/projectMeta-jG2rzIks.js +0 -3
- package/dist/assets/radio-CIR_xKSG.js +0 -1
- package/dist/assets/renderElectronMiniChatApp-D6cOGBOZ.js +0 -2
- package/dist/assets/renderMobileApp-BuiAqCNI.js +0 -23
- package/dist/assets/runtimeConfig-B9P24SI-.js +0 -2
- package/dist/assets/runtimeEndpointReset-BLmUiRJq.js +0 -147
- package/dist/assets/src-DF4hiLrB.css +0 -2
- package/dist/assets/useAppFontEffects-DCQnaU6M.js +0 -7
- package/dist/assets/useMobileNavigationStore-BYiwDqQe.js +0 -476
- package/dist/assets/useSessionAutoCleanup-DDdudIWc.js +0 -1
- package/dist/assets/useUIStore-BJpkPwky.js +0 -1
- package/server/lib/desktop-hosts/routes.js +0 -157
- package/server/lib/desktop-hosts/routes.test.js +0 -227
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it, vi } from 'vitest';
|
|
2
|
-
import express from 'express';
|
|
3
|
-
import request from 'supertest';
|
|
4
|
-
|
|
5
|
-
import { registerDesktopHostRoutes } from './routes.js';
|
|
6
|
-
|
|
7
|
-
const baseSettings = {
|
|
8
|
-
desktopSshInstances: [{ id: 'ssh-1' }, { id: 'ssh-2' }],
|
|
9
|
-
desktopHosts: [
|
|
10
|
-
{ id: 'ssh-1', clientToken: 'ssh-token-1' },
|
|
11
|
-
{ id: 'ssh-2', clientToken: 'ssh-token-2' },
|
|
12
|
-
{ id: 'lan-other', clientToken: 'other-token' },
|
|
13
|
-
],
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const createApp = ({
|
|
17
|
-
settings = baseSettings,
|
|
18
|
-
getSshRoutingTable = () => [],
|
|
19
|
-
getPairingSession,
|
|
20
|
-
mintSshHostToken,
|
|
21
|
-
logger = { warn: vi.fn(), error: vi.fn() },
|
|
22
|
-
} = {}) => {
|
|
23
|
-
const app = express();
|
|
24
|
-
registerDesktopHostRoutes(app, {
|
|
25
|
-
express,
|
|
26
|
-
readSettingsFromDiskMigrated: async () => settings,
|
|
27
|
-
getSshRoutingTable,
|
|
28
|
-
getPairingSession,
|
|
29
|
-
mintSshHostToken,
|
|
30
|
-
logger,
|
|
31
|
-
});
|
|
32
|
-
return { app, logger };
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
describe('desktop host routes', () => {
|
|
36
|
-
it('lists SSH hosts with reachable from the routing table and never returns clientToken', async () => {
|
|
37
|
-
const { app } = createApp({
|
|
38
|
-
settings: {
|
|
39
|
-
desktopSshInstances: [
|
|
40
|
-
{ id: 'ssh-1', nickname: 'Remote A', localForward: { preferredLocalPort: 41001 } },
|
|
41
|
-
{ id: 'ssh-2', nickname: 'Remote B', localForward: { preferredLocalPort: 41002 } },
|
|
42
|
-
],
|
|
43
|
-
desktopHosts: [
|
|
44
|
-
{ id: 'ssh-1', label: 'Remote A', clientToken: 'secret-a' },
|
|
45
|
-
{ id: 'ssh-2', label: 'Remote B', clientToken: 'secret-b' },
|
|
46
|
-
{ id: 'lan-other', label: 'Other', clientToken: 'secret-other' },
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
getSshRoutingTable: () => [{ id: 'ssh-1', localPort: 41234 }],
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
const res = await request(app).get('/api/openchamber/desktop-hosts');
|
|
53
|
-
expect(res.status).toBe(200);
|
|
54
|
-
expect(res.body).toEqual({
|
|
55
|
-
hosts: [
|
|
56
|
-
{ id: 'ssh-1', label: 'Remote A', localPort: 41234, reachable: true },
|
|
57
|
-
{ id: 'ssh-2', label: 'Remote B', localPort: 41002, reachable: false },
|
|
58
|
-
],
|
|
59
|
-
});
|
|
60
|
-
expect(JSON.stringify(res.body)).not.toContain('secret');
|
|
61
|
-
expect(JSON.stringify(res.body)).not.toContain('clientToken');
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
it('issues token with localPort/reachable when pairingId matches a redeemed session', async () => {
|
|
65
|
-
const getPairingSession = vi.fn(async (id) => {
|
|
66
|
-
if (id !== 'pair_ok') return null;
|
|
67
|
-
return { id: 'pair_ok', sshHostId: 'ssh-1', usedAt: '2026-01-01T00:00:00.000Z' };
|
|
68
|
-
});
|
|
69
|
-
const { app, logger } = createApp({
|
|
70
|
-
getSshRoutingTable: () => [{ id: 'ssh-1', localPort: 41234 }],
|
|
71
|
-
getPairingSession,
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
const ok = await request(app)
|
|
75
|
-
.post('/api/openchamber/ssh-host-token')
|
|
76
|
-
.send({ hostId: 'ssh-1', pairingId: 'pair_ok' });
|
|
77
|
-
expect(ok.status).toBe(200);
|
|
78
|
-
expect(ok.headers['cache-control']).toBe('no-store');
|
|
79
|
-
expect(ok.body).toEqual({
|
|
80
|
-
token: 'ssh-token-1',
|
|
81
|
-
localPort: 41234,
|
|
82
|
-
reachable: true,
|
|
83
|
-
});
|
|
84
|
-
expect(getPairingSession).toHaveBeenCalledWith('pair_ok');
|
|
85
|
-
expect(logger.warn).not.toHaveBeenCalled();
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
it('returns 403 when pairingId sshHostId does not match hostId', async () => {
|
|
89
|
-
const { app } = createApp({
|
|
90
|
-
getPairingSession: async () => ({
|
|
91
|
-
id: 'pair_x',
|
|
92
|
-
sshHostId: 'ssh-2',
|
|
93
|
-
usedAt: '2026-01-01T00:00:00.000Z',
|
|
94
|
-
}),
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
const res = await request(app)
|
|
98
|
-
.post('/api/openchamber/ssh-host-token')
|
|
99
|
-
.send({ hostId: 'ssh-1', pairingId: 'pair_x' });
|
|
100
|
-
expect(res.status).toBe(403);
|
|
101
|
-
expect(res.body).toEqual({ error: 'pairing-mismatch' });
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
it('returns 403 when pairing session is not redeemed', async () => {
|
|
105
|
-
const { app } = createApp({
|
|
106
|
-
getPairingSession: async () => ({
|
|
107
|
-
id: 'pair_pending',
|
|
108
|
-
sshHostId: 'ssh-1',
|
|
109
|
-
usedAt: null,
|
|
110
|
-
}),
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
const res = await request(app)
|
|
114
|
-
.post('/api/openchamber/ssh-host-token')
|
|
115
|
-
.send({ hostId: 'ssh-1', pairingId: 'pair_pending' });
|
|
116
|
-
expect(res.status).toBe(403);
|
|
117
|
-
expect(res.body).toEqual({ error: 'pairing-mismatch' });
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
it('returns 403 when pairingId is unknown', async () => {
|
|
121
|
-
const { app } = createApp({
|
|
122
|
-
getPairingSession: async () => null,
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
const res = await request(app)
|
|
126
|
-
.post('/api/openchamber/ssh-host-token')
|
|
127
|
-
.send({ hostId: 'ssh-1', pairingId: 'pair_missing' });
|
|
128
|
-
expect(res.status).toBe(403);
|
|
129
|
-
expect(res.body).toEqual({ error: 'pairing-mismatch' });
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
it('allows legacy mint without pairingId and logs a deprecation warning', async () => {
|
|
133
|
-
const { app, logger } = createApp({
|
|
134
|
-
getSshRoutingTable: () => [{ id: 'ssh-1', localPort: 41234 }],
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
const ok = await request(app)
|
|
138
|
-
.post('/api/openchamber/ssh-host-token')
|
|
139
|
-
.send({ hostId: 'ssh-1' });
|
|
140
|
-
expect(ok.status).toBe(200);
|
|
141
|
-
expect(ok.headers['cache-control']).toBe('no-store');
|
|
142
|
-
expect(ok.body).toEqual({
|
|
143
|
-
token: 'ssh-token-1',
|
|
144
|
-
localPort: 41234,
|
|
145
|
-
reachable: true,
|
|
146
|
-
});
|
|
147
|
-
expect(logger.warn).toHaveBeenCalledTimes(1);
|
|
148
|
-
expect(String(logger.warn.mock.calls[0][0])).toMatch(/deprecated/i);
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
it('returns reachable false and localPort null when routing table misses', async () => {
|
|
152
|
-
const { app } = createApp({
|
|
153
|
-
getSshRoutingTable: () => [],
|
|
154
|
-
getPairingSession: async () => ({
|
|
155
|
-
id: 'pair_ok',
|
|
156
|
-
sshHostId: 'ssh-1',
|
|
157
|
-
usedAt: '2026-01-01T00:00:00.000Z',
|
|
158
|
-
}),
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
const res = await request(app)
|
|
162
|
-
.post('/api/openchamber/ssh-host-token')
|
|
163
|
-
.send({ hostId: 'ssh-1', pairingId: 'pair_ok' });
|
|
164
|
-
expect(res.status).toBe(200);
|
|
165
|
-
expect(res.body).toEqual({
|
|
166
|
-
token: 'ssh-token-1',
|
|
167
|
-
localPort: null,
|
|
168
|
-
reachable: false,
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
it('returns 404 for missing / non-SSH / tokenless hosts', async () => {
|
|
173
|
-
const { app } = createApp();
|
|
174
|
-
|
|
175
|
-
const missing = await request(app)
|
|
176
|
-
.post('/api/openchamber/ssh-host-token')
|
|
177
|
-
.send({ hostId: 'missing' });
|
|
178
|
-
expect(missing.status).toBe(404);
|
|
179
|
-
|
|
180
|
-
const nonSsh = await request(app)
|
|
181
|
-
.post('/api/openchamber/ssh-host-token')
|
|
182
|
-
.send({ hostId: 'lan-other' });
|
|
183
|
-
expect(nonSsh.status).toBe(404);
|
|
184
|
-
|
|
185
|
-
const { app: noTokenApp } = createApp({
|
|
186
|
-
settings: {
|
|
187
|
-
desktopSshInstances: [{ id: 'ssh-empty' }],
|
|
188
|
-
desktopHosts: [{ id: 'ssh-empty' }],
|
|
189
|
-
},
|
|
190
|
-
});
|
|
191
|
-
const noToken = await request(noTokenApp)
|
|
192
|
-
.post('/api/openchamber/ssh-host-token')
|
|
193
|
-
.send({ hostId: 'ssh-empty' });
|
|
194
|
-
expect(noToken.status).toBe(404);
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
it('mints a token on demand when the stored SSH host is tokenless', async () => {
|
|
198
|
-
const mintSshHostToken = vi.fn(async (hostId) => {
|
|
199
|
-
expect(hostId).toBe('ssh-empty');
|
|
200
|
-
return 'minted-on-demand';
|
|
201
|
-
});
|
|
202
|
-
const { app } = createApp({
|
|
203
|
-
settings: {
|
|
204
|
-
desktopSshInstances: [{ id: 'ssh-empty' }],
|
|
205
|
-
desktopHosts: [{ id: 'ssh-empty' }],
|
|
206
|
-
},
|
|
207
|
-
getSshRoutingTable: () => [{ id: 'ssh-empty', localPort: 41234 }],
|
|
208
|
-
getPairingSession: async () => ({
|
|
209
|
-
id: 'pair_ok',
|
|
210
|
-
sshHostId: 'ssh-empty',
|
|
211
|
-
usedAt: '2026-01-01T00:00:00.000Z',
|
|
212
|
-
}),
|
|
213
|
-
mintSshHostToken,
|
|
214
|
-
});
|
|
215
|
-
|
|
216
|
-
const res = await request(app)
|
|
217
|
-
.post('/api/openchamber/ssh-host-token')
|
|
218
|
-
.send({ hostId: 'ssh-empty', pairingId: 'pair_ok' });
|
|
219
|
-
expect(res.status).toBe(200);
|
|
220
|
-
expect(res.body).toEqual({
|
|
221
|
-
token: 'minted-on-demand',
|
|
222
|
-
localPort: 41234,
|
|
223
|
-
reachable: true,
|
|
224
|
-
});
|
|
225
|
-
expect(mintSshHostToken).toHaveBeenCalledWith('ssh-empty');
|
|
226
|
-
});
|
|
227
|
-
});
|