Extract database types into own file to fix tests.

This commit is contained in:
baldo 2022-07-21 12:07:18 +02:00
parent 8a2d108051
commit d76c530431
5 changed files with 57 additions and 53 deletions
server/db/__mocks__

View file

@ -1,4 +1,4 @@
import {RunResult, SqlType, Statement, TypedDatabase} from "../database";
import {RunResult, SqlType, Statement, TypedDatabase} from "../../types";
import * as sqlite3 from "sqlite3";
export async function init(): Promise<void> {