mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build(deps): bump dependencies (#2796)
This commit is contained in:

committed by
GitHub

parent
821bb79d83
commit
0fa84eae8d
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user