Fix sqlite query invocation in test

46da1abba4
changed the types of the db functions... fix our code to deal with it.
This commit is contained in:
Reto Brunner 2023-03-17 10:54:30 +01:00
parent 6b00ccf82b
commit 845dabad53

View File

@ -74,7 +74,7 @@ describe("SQLite Message Storage", function () {
it("should insert schema version to options table", function (done) { it("should insert schema version to options table", function (done) {
store.database.get( store.database.get(
"SELECT value FROM options WHERE name = 'schema_version'", "SELECT value FROM options WHERE name = 'schema_version'",
(err, row) => { (err, row: {value: string}) => {
expect(err).to.be.null; expect(err).to.be.null;
// Should be sqlite.currentSchemaVersion, // Should be sqlite.currentSchemaVersion,