From eeb97a438604f10fef06a14e77c704ea67b2b1e5 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 2 Jul 2026 15:33:32 +0100 Subject: [PATCH] Remove fake indexeddb as it seems like the tests didn't actually see the fake indexeddb before (somehow) but now do, and are failing because they have that but no postmessage. It feels like the right solution is for these tests to not need indexeddb. --- .../test/unit-tests/components/structures/MatrixChat-test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/web/test/unit-tests/components/structures/MatrixChat-test.tsx b/apps/web/test/unit-tests/components/structures/MatrixChat-test.tsx index 683c932845..54aec9a08c 100644 --- a/apps/web/test/unit-tests/components/structures/MatrixChat-test.tsx +++ b/apps/web/test/unit-tests/components/structures/MatrixChat-test.tsx @@ -6,7 +6,6 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Com Please see LICENSE files in the repository root for full details. */ -import "fake-indexeddb/auto"; import React, { type ComponentProps, createRef, type RefObject } from "react"; import { fireEvent, render, type RenderResult, screen, waitFor, within, act } from "jest-matrix-react"; import { type Mocked, mocked } from "jest-mock-vitest-adapter";