mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 04:04:25 +00:00
test: stub preloaded grid in graph action suite
This commit is contained in:
@@ -14,6 +14,8 @@ interface GraphActions {
|
||||
|
||||
const graphViews = vi.hoisted(() => [] as GraphActions[]);
|
||||
vi.mock("@/components/editor/QueryEditor.vue", () => ({ default: { render: () => null } }));
|
||||
// ContentArea also preloads the grid for graph results; keep its async imports within this test's lifetime.
|
||||
vi.mock("@/components/grid/DataGrid.vue", () => ({ default: { render: () => null } }));
|
||||
vi.mock("@/components/grid/DataGridColumnLayoutPopover.vue", () => ({ default: { render: () => null } }));
|
||||
vi.mock("@/components/graph/GraphResultView.vue", () => ({
|
||||
__esModule: true,
|
||||
|
||||
Reference in New Issue
Block a user