fix: test constract

This commit is contained in:
imccyu
2026-08-12 02:16:07 +08:00
parent 929086fb36
commit 58b6fa3ae1
6 changed files with 16 additions and 13 deletions
@@ -21,7 +21,7 @@ const CHILD = 'child-1' as SessionId
async function bench() {
const runtime = await SlotTestRuntime.create()
runtime.provide('connection', { api: { settings: {} }, isLoopback: false } as never)
runtime.provide('connection', { api: { settings: {} }, isLoopback: false })
// The plugin injects both; these specs exercise no settings path.
runtime.provide('remote', { $on: () => () => {} })
runtime.provide('settingsScope', { bind: () => stubSettingsScope().scope } as never)