style: linting
This commit is contained in:
		
							parent
							
								
									6670e086fe
								
							
						
					
					
						commit
						824aaea352
					
				
					 2 changed files with 0 additions and 9 deletions
				
			
		|  | @ -68,7 +68,6 @@ describe('SubmissionRepository', () => { | ||||||
|             version: usedSubmission.learningObjectVersion, |             version: usedSubmission.learningObjectVersion, | ||||||
|         }; |         }; | ||||||
|         const result = await submissionRepository.findAllSubmissionsForLearningObjectAndAssignment(loId, assignment); |         const result = await submissionRepository.findAllSubmissionsForLearningObjectAndAssignment(loId, assignment); | ||||||
|         const result = await submissionRepository.findAllSubmissionsForLearningObjectAndAssignment(loId, assignment); |  | ||||||
|         sortSubmissions(result); |         sortSubmissions(result); | ||||||
| 
 | 
 | ||||||
|         expect(result).toHaveLength(3); |         expect(result).toHaveLength(3); | ||||||
|  | @ -95,7 +94,6 @@ describe('SubmissionRepository', () => { | ||||||
|             version: usedSubmission.learningObjectVersion, |             version: usedSubmission.learningObjectVersion, | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         const result = await submissionRepository.findAllSubmissionsForLearningObjectAndGroup(loId, group); |  | ||||||
|         const result = await submissionRepository.findAllSubmissionsForLearningObjectAndGroup(loId, group); |         const result = await submissionRepository.findAllSubmissionsForLearningObjectAndGroup(loId, group); | ||||||
| 
 | 
 | ||||||
|         expect(result).toHaveLength(1); |         expect(result).toHaveLength(1); | ||||||
|  |  | ||||||
|  | @ -47,13 +47,6 @@ describe('LearningObjectRepository', () => { | ||||||
|         await learningObjectRepository.save(newerExample); |         await learningObjectRepository.save(newerExample); | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     it('should return the newest version of the learning object when queried by only hruid and language', async () => { |  | ||||||
|         const result = await learningObjectRepository.findLatestByHruidAndLanguage(newerExample.hruid, newerExample.language); |  | ||||||
|         // Expect(result).toBeInstanceOf(LearningObject);
 |  | ||||||
|         // Expect(result?.version).toBe(10);
 |  | ||||||
|         // Expect(result?.title).toContain('(nieuw)');
 |  | ||||||
|     }); |  | ||||||
| 
 |  | ||||||
|     it('should return null when queried by non-existing hruid or language', async () => { |     it('should return null when queried by non-existing hruid or language', async () => { | ||||||
|         const result = await learningObjectRepository.findLatestByHruidAndLanguage('something_that_does_not_exist', testLearningObject01.language); |         const result = await learningObjectRepository.findLatestByHruidAndLanguage('something_that_does_not_exist', testLearningObject01.language); | ||||||
|         expect(result).toBe(null); |         expect(result).toBe(null); | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 laurejablonski
						laurejablonski