mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
test(vscode): set origin for Roo migration fixture
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user