Skip to content

Commit

Permalink
Fix sqlite query invocation in test
Browse files Browse the repository at this point in the history
TryGhost/node-sqlite3@46da1ab
changed the types of the db functions... fix our code to deal with it.
  • Loading branch information
brunnre8 committed Mar 17, 2023
1 parent 6b00ccf commit 845daba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugins/sqlite.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 845daba

Please sign in to comment.