feat(editor): configure multi-statement result view
This commit is contained in:
17 files changed
+112
-6
No files matched your search
@@ -276,6 +276,12 @@ describe("normalizeEditorSettings", () => {
|
||||
expect(normalizeEditorSettings({ resultRunDisplayMode: "invalid" as any }).resultRunDisplayMode).toBe("tabs");
|
||||
});
|
||||
|
||||
it("defaults multi-statement execution to the result table and preserves the summary option", () => {
|
||||
expect(normalizeEditorSettings({}).multiStatementDefaultView).toBe("result");
|
||||
expect(normalizeEditorSettings({ multiStatementDefaultView: "summary" }).multiStatementDefaultView).toBe("summary");
|
||||
expect(normalizeEditorSettings({ multiStatementDefaultView: "invalid" as any }).multiStatementDefaultView).toBe("result");
|
||||
});
|
||||
|
||||
it("defaults persistent data grid view options off and preserves enabled values", () => {
|
||||
const defaults = normalizeEditorSettings({});
|
||||
expect(defaults.dataGridMultiRowTranspose).toBe(false);
|
||||
|
||||
Reference in new issue
Block a user