mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2026-03-13 08:41:05 +08:00
12 lines
269 B
TypeScript
12 lines
269 B
TypeScript
import { afterEach, vi } from "vitest";
|
|
import { cleanup } from "vitest-browser-vue/pure";
|
|
|
|
import { resetDocumentBody } from "./helpers/dom";
|
|
|
|
// Centralized cleanup for all browser tests
|
|
afterEach(() => {
|
|
cleanup();
|
|
resetDocumentBody();
|
|
vi.clearAllMocks();
|
|
});
|