test(web): register fork reminder snapshot in host compiler
This commit is contained in:
1 parent
194b985f13
commit
540607cf2a
3 files changed
+4
-2
No files matched your search
@@ -29,7 +29,7 @@ it.skipIf(MODE === 'record')('replays inherited schedule tools and refusals in a
|
||||
.map(file => selectedSessionFixture(join(DIR, file))))
|
||||
let expected = await Promise.all(paths.map(path => readFile(path, 'utf8')))
|
||||
const scaffold = await launchWebScaffold({
|
||||
replayFixture: paths[0], replayChildFixtures: [paths[1]!], compareReplaySession: false,
|
||||
replayFixture: paths[0]!, replayChildFixtures: [paths[1]!], compareReplaySession: false,
|
||||
})
|
||||
try {
|
||||
const sessions: Session[] = []
|
||||
@@ -48,7 +48,7 @@ it.skipIf(MODE === 'record')('replays inherited schedule tools and refusals in a
|
||||
const activation = await scaffold.ctx.subagents.startActivation({
|
||||
provider: 'fork', label: 'Check child reminder refusal', delivery: 'caller',
|
||||
signal: new AbortController().signal,
|
||||
request: { parent, prompt: childPrompt.data.content },
|
||||
request: { parent, prompt: [...childPrompt.data.content] },
|
||||
})
|
||||
try {
|
||||
await activation.result
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
"tests/minimal-preset.snapshot.ts",
|
||||
"tests/message-feedback-protocol.snapshot.ts",
|
||||
"tests/preset-migration.snapshot.ts",
|
||||
"tests/subagent-fork-schedule.snapshot.ts",
|
||||
"tests/live-interactions.e2e.ts",
|
||||
"tests/question-composer.e2e.ts",
|
||||
"tests/approval-composer.e2e.ts",
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
"apps/web/tests/minimal-preset.snapshot.ts",
|
||||
"apps/web/tests/message-feedback-protocol.snapshot.ts",
|
||||
"apps/web/tests/preset-migration.snapshot.ts",
|
||||
"apps/web/tests/subagent-fork-schedule.snapshot.ts",
|
||||
"apps/web/tests/live-interactions.e2e.ts",
|
||||
"apps/web/tests/question-composer.e2e.ts",
|
||||
"apps/web/tests/approval-composer.e2e.ts",
|
||||
|
||||
Reference in new issue
Block a user