Files
2026-08-10 04:29:24 -06:00

13 lines
304 B
TypeScript

import { afterEach } from "vitest";
import { cleanup } from "@testing-library/vue";
afterEach(() => cleanup());
HTMLDialogElement.prototype.showModal = function showModal() {
this.setAttribute("open", "");
};
HTMLDialogElement.prototype.close = function close() {
this.removeAttribute("open");
};