Replace derived table wrapping with direct TOP injection for SQL Server to prevent error 8155 when inner SELECT produces unnamed columns (e.g. SELECT @@version). Also preserves ORDER BY that was incorrectly stripped by the previous approach.
10 lines
353 B
TypeScript
10 lines
353 B
TypeScript
import { readFileSync } from "node:fs";
|
|
import { strict as assert } from "node:assert";
|
|
import test from "node:test";
|
|
|
|
const source = readFileSync("apps/desktop/src/components/editor/QueryEditor.vue", "utf8");
|
|
|
|
test("query editor requests a fresh CodeMirror measure after live zoom updates", () => {
|
|
assert.match(source, /syncEditorFontCssVars/);
|
|
});
|