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
@@ -68,7 +68,7 @@ const LAYOUT_CHILDREN = {
async function bench(nodes: ToolResultNode[]) {
const runtime = await SlotTestRuntime.create()
runtime.provide('connection', { api: { settings: {} }, isLoopback: false } as never)
runtime.provide('connection', { api: { settings: {} }, isLoopback: false })
// ui-theme's Appearance row binds a durable scope through these two.
runtime.provide('remote', { $on: () => () => {} })
runtime.provide('settingsScope', { bind: () => stubSettingsScope().scope } as never)