fix(sql): preserve file associations and list selection

This commit is contained in:
zipg
2026-08-13 11:44:55 +08:00
committed by GitHub
parent 2e27f7a66a
commit e5a3917f7d
25 changed files with 558 additions and 186 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ test("SQL library directory imports preserve nested folder paths", () => {
const end = source.indexOf("async function chooseSyncDirectory", start);
const handler = start >= 0 && end > start ? source.slice(start, end) : "";
assert.match(handler, /resolveImportedFolder\(connectionId, targetFolder\?\.id, file\.folderNames, folderCache\)/);
assert.match(handler, /resolveImportedFolder\(folderConnectionId, targetFolder\?\.id, file\.folderNames, folderCache\)/);
assert.match(handler, /uniqueImportedName\(file\.name, takenNames\)/);
assert.doesNotMatch(handler, /relativeImportName/);
});