test: push de env file voor testen naar de repo en pas het pad aan in de setup-file om deze te gebruiken

This commit is contained in:
Laure Jablonski 2025-03-17 17:18:24 +01:00
parent f3d1ca8867
commit bc4d998922
2 changed files with 4 additions and 1 deletions

View file

@ -15,7 +15,7 @@ import { makeTestAnswers } from './test_assets/questions/answers.testdata.js';
import { makeTestSubmissions } from './test_assets/assignments/submission.testdata.js';
export async function setupTestApp() {
dotenv.config({ path: '.env.test.example' });
dotenv.config({ path: '.env.test' });
await initORM(true);
const em = forkEntityManager();