First commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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");
|
||||
};
|
||||
Reference in New Issue
Block a user