test(vector): make data grid mock synchronous

This commit is contained in:
t8y2 committed 2026-08-22 06:50:10 +00:00
1 parent a0c9a1c878
commit 33dfaf957f
1 file changed
+4 -4
@@ -43,10 +43,10 @@ vi.mock("@/components/ui/ErrorBanner.vue", async () => {
const { defineComponent, h } = await import("vue");
return { default: defineComponent({ setup: () => () => h("div") }) };
});
vi.mock("@/components/grid/DataGrid.vue", async () => {
const { defineComponent, h } = await import("vue");
return { __esModule: true, default: defineComponent({ setup: () => () => h("div") }) };
});
vi.mock("@/components/grid/DataGrid.vue", () => ({
__esModule: true,
default: { render: () => null },
}));
import VectorBrowser from "@/components/vector/VectorBrowser.vue";