From 6ab5a506a0f68faffe4f8272737a54ff8c3e795c Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Tue, 18 Aug 2026 20:01:42 -0400 Subject: [PATCH] test: declare global opfsTest variable for improved test accessibility Signed-off-by: Okiki Ojo --- mise.toml | 2 +- tests/browser/fixtures/app.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index a7b3f87..3cab53a 100644 --- a/mise.toml +++ b/mise.toml @@ -3,7 +3,7 @@ min_version = "2026.8.0" [tools] node = "26" deno = "2" -bun = "1" +bun = "latest" pnpm = "11" "npm:npm" = "11" diff --git a/tests/browser/fixtures/app.ts b/tests/browser/fixtures/app.ts index 43ce05c..2e48f36 100644 --- a/tests/browser/fixtures/app.ts +++ b/tests/browser/fixtures/app.ts @@ -581,3 +581,7 @@ globalThis.opfsTest = { adapter: roundTripAdapter, indexedDbAppend, }; + +declare global { + var opfsTest: BrowserTestApiType; +} \ No newline at end of file -- 2.51.2