started to convert to typescript

This commit is contained in:
grimhilt
2023-04-01 16:32:29 +02:00
parent 1d761fa6df
commit 9fbf5e5cf3
32 changed files with 1045 additions and 3897 deletions

View File

@@ -0,0 +1,19 @@
// beforeAll(async () => {
// // const schema = fs.readFileSync('../../sql/structureV2.sql', 'utf8');
// // await setupDB(mysqlConfig, schema);
// });
// afterAll(async () => {
// global.db.query("DROP database mail_test");
// });
// describe('saveMessageApp', async () => {
// beforeEach(() => {
// });
// it("", () => {
// });
// });

View File

@@ -1,4 +1,4 @@
const mysql = require("mysql");
const mysql from ";
export class TestDb {
constructor (options) {