Implemented mechanism to easily retrieve repositories.
This commit is contained in:
parent
0679c16b7d
commit
357a3fce67
4 changed files with 26 additions and 11 deletions
7
backend/tests/setup-tests.ts
Normal file
7
backend/tests/setup-tests.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import {initORM} from "../src/orm";
|
||||
import dotenv from "dotenv";
|
||||
|
||||
export async function setupTestApp() {
|
||||
dotenv.config({path: ".env.test"});
|
||||
await initORM(true);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue