fix(grid): update deferred copy generation test

This commit is contained in:
t8y2 2026-07-21 17:22:43 +08:00
parent 51f163ee6c
commit c047b44052
1 changed files with 2 additions and 2 deletions

View File

@ -23,10 +23,10 @@ test("set NULL applies a real null value only to editable selections", () => {
assert.doesNotMatch(handler, /fillSelectionWithValue\(["'](?:NULL)?["']\)/);
});
test("column-header context menus prefetch prepared copy statements", () => {
test("column-header context menus defer copy statement generation", () => {
const handler = dataGridSource.match(/function onHeaderContext\([^]*?\n\}/)?.[0] ?? "";
assert.match(handler, /void prefetchCopyStatements\(\);/);
assert.doesNotMatch(handler, /prefetchCopyStatements/);
});
test("editable cell selections expose generation after bulk edit", () => {