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:
		
							parent
							
								
									f3d1ca8867
								
							
						
					
					
						commit
						bc4d998922
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -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(); | ||||
|  |  | |||
		Reference in a new issue
	
	 Laure Jablonski
						Laure Jablonski