style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									dd21f46162
								
							
						
					
					
						commit
						06bc1cb8bf
					
				
					 7 changed files with 60 additions and 72 deletions
				
			
		|  | @ -3,7 +3,7 @@ import { LearningObject } from '../../../../src/entities/content/learning-object | |||
| import { Language } from '../../../../src/entities/content/language'; | ||||
| import { loadTestAsset } from '../../../test-utils/load-test-asset'; | ||||
| import { DwengoContentType } from '../../../../src/services/learning-objects/processing/content-type'; | ||||
| import {EnvVars, getEnvVar} from "../../../../src/util/envvars"; | ||||
| import { EnvVars, getEnvVar } from '../../../../src/util/envvars'; | ||||
| 
 | ||||
| /** | ||||
|  * Create a dummy learning object to be used in tests where multiple learning objects are needed (for example for use | ||||
|  | @ -22,8 +22,8 @@ export function dummyLearningObject(hruid: string, language: Language, title: st | |||
|             learningObject.content = Buffer.from('Dummy content'); | ||||
|             learningObject.returnValue = { | ||||
|                 callbackUrl: `/learningObject/${hruid}/submissions`, | ||||
|                 callbackSchema: "[]" | ||||
|             } | ||||
|                 callbackSchema: '[]', | ||||
|             }; | ||||
|             return learningObject; | ||||
|         }, | ||||
|         createAttachment: {}, | ||||
|  |  | |||
|  | @ -16,8 +16,8 @@ const example: LearningObjectExample = { | |||
|         learningObject.contentType = DwengoContentType.GIFT; | ||||
|         learningObject.returnValue = { | ||||
|             callbackUrl: `/learningObject/${learningObject.hruid}/submissions`, | ||||
|             callbackSchema: '["antwoord vraag 1"]' | ||||
|         } | ||||
|             callbackSchema: '["antwoord vraag 1"]', | ||||
|         }; | ||||
|         learningObject.content = loadTestAsset('learning-objects/test-essay/content.txt'); | ||||
|         return learningObject; | ||||
|     }, | ||||
|  |  | |||
|  | @ -16,8 +16,8 @@ const example: LearningObjectExample = { | |||
|         learningObject.contentType = DwengoContentType.GIFT; | ||||
|         learningObject.returnValue = { | ||||
|             callbackUrl: `/learningObject/${learningObject.hruid}/submissions`, | ||||
|             callbackSchema: '["antwoord vraag 1"]' | ||||
|         } | ||||
|             callbackSchema: '["antwoord vraag 1"]', | ||||
|         }; | ||||
|         learningObject.content = loadTestAsset('learning-objects/test-multiple-choice/content.txt'); | ||||
|         return learningObject; | ||||
|     }, | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action