import { History } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
History API.
Reference: https://developer.mozilla.org/en-US/docs/Web/API/History
Methods
pushState(): void
_state: object,
_title: any,
_url?: string,
Pushes the given data onto the session history stack.
replaceState(): void
_state: object,
_title: any,
_url?: string,
This method modifies the current history entry, replacing it with a new state.