diff --git a/__tests__/Header.test.tsx b/__tests__/Header.test.tsx
index 2d40196..47526b8 100644
--- a/__tests__/Header.test.tsx
+++ b/__tests__/Header.test.tsx
@@ -5,6 +5,7 @@ import { Header } from "../components/Header.tsx";
describe("Header", () => {
beforeEach(() => {
+ // deno-lint-ignore no-window
window.document = new DOMParser().parseFromString(
"",
"text/html",
diff --git a/__tests__/deps.ts b/__tests__/deps.ts
index abca7ac..0146afa 100644
--- a/__tests__/deps.ts
+++ b/__tests__/deps.ts
@@ -4,7 +4,7 @@
///
///
-export { DOMParser } from "https://deno.land/x/deno_dom@v0.1.37/deno-dom-wasm.ts";
+export { DOMParser } from "https://deno.land/x/deno_dom@v0.1.45/deno-dom-wasm.ts";
export { render } from "https://esm.sh/@testing-library/preact@3.2.2";
import "npm:textlint";
import "npm:@9renpoto/textlint-config-ja";
diff --git a/__tests__/index.test.tsx b/__tests__/index.test.tsx
index dd77b02..4d0989c 100644
--- a/__tests__/index.test.tsx
+++ b/__tests__/index.test.tsx
@@ -6,6 +6,7 @@ import { PostCard } from "../routes/index.tsx";
describe("PostCard", () => {
beforeEach(() => {
+ // deno-lint-ignore no-window
window.document = new DOMParser().parseFromString(
"",
"text/html",