feat: Introduce backend test suite with ava

This commit is contained in:
Faruk AYDIN
2023-09-14 11:56:08 +02:00
parent a9c7375534
commit 224965b91e
7 changed files with 398 additions and 183 deletions

View File

@@ -0,0 +1,11 @@
import { createDatabaseAndUser } from '../../bin/database/utils';
import logger from '../../src/helpers/logger';
createDatabaseAndUser()
.then(() => {
process.exit(0);
})
.catch((error) => {
logger.error(error);
process.exit(1);
});