Skip to content

Commit e248942

Browse files
thymikeeclaude
andcommitted
test(host): give the new handler suites a host
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1 parent 2aa9e5b commit e248942

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎src/cli/commands/__tests__/daemon.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ test('daemon status reads the daemon record without stopping or contacting the d
270270

271271
try {
272272
await daemonCommand({
273+
host: createTestHostEnvironment(),
273274
positionals: ['status'],
274275
flags: { help: false, json: true, stateDir, version: false },
275276
client: {} as never,

‎src/cli/commands/connection-runtime-plugin-capabilities.test.ts‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import { expect, test, vi } from 'vitest';
22
import fs from 'node:fs';
3-
import { pluginHome, selectV2Plugin, v2RegistrationSource } from '@agent-device/test-kit';
3+
import {
4+
pluginHome,
5+
selectV2Plugin,
6+
v2RegistrationSource,
7+
createTestHostEnvironment,
8+
} from '@agent-device/test-kit';
49
import {
510
connectionWorkspace,
611
createTestClient,
@@ -43,6 +48,7 @@ test('a stored profile for a v2 plugin provider needs no remote daemon URL', asy
4348
// refused for lacking a daemonBaseUrl.
4449
await expect(
4550
materializeRemoteConnectionForCommand({
51+
host: createTestHostEnvironment(),
4652
command: 'snapshot',
4753
client: createTestClient(),
4854
flags: {

0 commit comments

Comments
 (0)