test(vscode): set origin for Roo migration fixture

This commit is contained in:
marius-kilocode
2026-08-31 16:01:39 +02:00
parent 18fd9ab378
commit 49af575158
@@ -3,6 +3,7 @@ import { Window } from "happy-dom"
import type { MigrationSessionInfo, WebviewMessage } from "../../webview-ui/src/types/messages"
const window = new Window({ url: "http://localhost" })
Object.defineProperty(window, "origin", { value: window.location.origin })
const style = window.getComputedStyle.bind(window)
const sent: WebviewMessage[] = []
Object.assign(globalThis, {