Skip to content

Commit 845daba

Browse files
committedMar 17, 2023
Fix sqlite query invocation in test
TryGhost/node-sqlite3@46da1ab changed the types of the db functions... fix our code to deal with it.
1 parent 6b00ccf commit 845daba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/plugins/sqlite.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe("SQLite Message Storage", function () {
7474
it("should insert schema version to options table", function (done) {
7575
store.database.get(
7676
"SELECT value FROM options WHERE name = 'schema_version'",
77-
(err, row) => {
77+
(err, row: {value: string}) => {
7878
expect(err).to.be.null;
7979

8080
// Should be sqlite.currentSchemaVersion,

0 commit comments

Comments
 (0)
Please sign in to comment.