fix(opencode): narrow v2 event exercise directory
This commit is contained in:
parent
dbd0a5b8c9
commit
b268064d08
1 changed files with 1 additions and 1 deletions
|
|
@ -637,7 +637,7 @@ const scenarios: Scenario[] = [
|
|||
Effect.sync(() => {
|
||||
check(result.contentType.includes("text/event-stream"), "v2 event should be an SSE stream")
|
||||
check(result.text.includes("server.connected"), "v2 event should emit initial connection event")
|
||||
check(result.text.includes(ctx.directory), "v2 event should include the resolved location")
|
||||
check(!!ctx.directory && result.text.includes(ctx.directory), "v2 event should include the resolved location")
|
||||
}),
|
||||
"status",
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue