From 845dabad53c4a47b6c39f7529ad02ec810c5ed48 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Fri, 17 Mar 2023 10:54:30 +0100 Subject: [PATCH] Fix sqlite query invocation in test https://github.com/TryGhost/node-sqlite3/commit/46da1abba498b41612fcba9804252471772235fd changed the types of the db functions... fix our code to deal with it. --- test/plugins/sqlite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/sqlite.ts b/test/plugins/sqlite.ts index 16c832f1..f83ca58d 100644 --- a/test/plugins/sqlite.ts +++ b/test/plugins/sqlite.ts @@ -74,7 +74,7 @@ describe("SQLite Message Storage", function () { it("should insert schema version to options table", function (done) { store.database.get( "SELECT value FROM options WHERE name = 'schema_version'", - (err, row) => { + (err, row: {value: string}) => { expect(err).to.be.null; // Should be sqlite.currentSchemaVersion,