mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-01 22:22:54 +02:00
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) {
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue