diff --git a/desktop/crud.ts b/desktop/crud.ts index b53e621c..55c5ac90 100644 --- a/desktop/crud.ts +++ b/desktop/crud.ts @@ -62,7 +62,7 @@ export class GenericCrud { this.entity }" WHERE id = ${stubMaker()}` ); - const row = stmt.get(id) as { data_json: string, position: number }; + const row = stmt.get(id) as { data_json: string; position: number }; if (!row) { return [null, -1]; } @@ -130,7 +130,7 @@ export const exportDestination = {}; export const metadataCrud = { get(db: sqlite3.Database) { const stmt = db.prepare('SELECT * FROM ds_metadata'); - const rows = stmt.all() as Array<{key: string; value: string}>; + const rows = stmt.all() as Array<{ key: string; value: string }>; const metadata: Record = {}; for (const row of rows) { metadata[row.key] = row.value; diff --git a/desktop/store.ts b/desktop/store.ts index acf14eec..a148ee27 100644 --- a/desktop/store.ts +++ b/desktop/store.ts @@ -147,7 +147,7 @@ export class Store { validateSQLiteDriver() { const memdb = new sqlite3.default(':memory:'); const stmt = memdb.prepare('SELECT sqlite_version() AS version'); - const row = stmt.get() as {version: string}; + const row = stmt.get() as { version: string }; if (!minSemver(row.version, '3.38.1')) { throw new Error( 'Unsupported SQLite driver version: ' + JSON.stringify(row) @@ -361,7 +361,10 @@ SELECT FROM ds_result o GROUP BY panel_id `); - const results = stmt.all() as Array<{panel_id: string; data_json: string}>; + const results = stmt.all() as Array<{ + panel_id: string; + data_json: string; + }>; const resultPanelMap: Record = {}; for (const result of results) { diff --git a/integration/mongo.test.js b/integration/mongo.test.js index 117a28ec..61753f73 100644 --- a/integration/mongo.test.js +++ b/integration/mongo.test.js @@ -184,4 +184,6 @@ if (false) { } ); }); +} else { + test('ok', function() {}); } diff --git a/integration/oracle.test.js b/integration/oracle.test.js index 28c5254b..f6b530ba 100644 --- a/integration/oracle.test.js +++ b/integration/oracle.test.js @@ -70,4 +70,6 @@ if (false) { DEFAULT_TIMEOUT * 10 ); }); +} else { + test('ok', function() {}); } diff --git a/integration/sqlserver.test.js b/integration/sqlserver.test.js index d12645e2..98e2c7df 100644 --- a/integration/sqlserver.test.js +++ b/integration/sqlserver.test.js @@ -71,4 +71,6 @@ if (false) { ); } }); +} else { + test('ok', function() {}); } diff --git a/ui/Navigation.tsx b/ui/Navigation.tsx index 4ff45504..a97a487e 100644 --- a/ui/Navigation.tsx +++ b/ui/Navigation.tsx @@ -18,8 +18,9 @@ export function Navigation({ {pages.map((page) => (