build(deps): bump dependencies (#2796)

This commit is contained in:
Danshil Kokil Mungur
2022-08-17 15:43:35 +04:00
committed by GitHub
parent 821bb79d83
commit 0fa84eae8d
29 changed files with 2251 additions and 2425 deletions

View File

@@ -1,8 +1,8 @@
import { createConnection, getRepository } from 'typeorm';
import { copyFileSync } from 'fs';
import { UserType } from '../constants/user';
import { User } from '../entity/User';
import path from 'path';
import dataSource, { getRepository } from '../datasource';
const prepareDb = async () => {
// Copy over test settings.json
@@ -12,7 +12,7 @@ const prepareDb = async () => {
);
// Connect to DB and seed test data
const dbConnection = await createConnection();
const dbConnection = await dataSource.initialize();
await dbConnection.dropDatabase();