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:
parent
6b00ccf82b
commit
845dabad53
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user