feat(grid): add DDL search navigation

This commit is contained in:
zipg authored and GitHub committed 2026-07-23 21:50:42 +08:00
1 parent 438164dd64
commit c31d403af3
2 files changed
+113 -11

No files matched your search

@@ -0,0 +1,10 @@
import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";
const dataGridSource = readFileSync(new URL("../DataGrid.vue", import.meta.url), "utf8");
describe("DataGrid DDL search navigation", () => {
it("resets navigation when the raw search query changes", () => {
expect(dataGridSource).toMatch(/watch\(\s*\[filteredDdlContent, searchQuery\],/);
});
});