style(test): prettier-format history.dom.test.ts (release gate fix)

This commit is contained in:
2026-08-06 23:59:53 +02:00
parent 49854c63a5
commit 1199bb0eaf
+4 -1
View File
@@ -14,7 +14,10 @@ import { renderHook, act } from "@testing-library/react";
import { useBackToClose, useBackToExit } from "./history"; import { useBackToClose, useBackToExit } from "./history";
// Let the mount effect's coalesced reconcile microtask settle. // Let the mount effect's coalesced reconcile microtask settle.
const settle = () => act(async () => { await Promise.resolve(); }); const settle = () =>
act(async () => {
await Promise.resolve();
});
// A genuine user Back (browser already dropped the entry; popstate arrives with no pending back()). // A genuine user Back (browser already dropped the entry; popstate arrives with no pending back()).
const userBack = () => const userBack = () =>
act(() => { act(() => {