fix(backend): Nog een linting-probleem opgelost
This commit is contained in:
		
							parent
							
								
									ba912c3ef0
								
							
						
					
					
						commit
						1382e2300b
					
				
					 1 changed files with 29 additions and 27 deletions
				
			
		|  | @ -19,6 +19,7 @@ export function expectToBeCorrectEntity<T extends object>( | ||||||
|     propertyPrefix = "" |     propertyPrefix = "" | ||||||
| ): void { | ): void { | ||||||
|     for (const property in expected) { |     for (const property in expected) { | ||||||
|  |         if (Object.prototype.hasOwnProperty.call(expected, property)) { | ||||||
|             const prefixedProperty = propertyPrefix + property; |             const prefixedProperty = propertyPrefix + property; | ||||||
|             if ( |             if ( | ||||||
|                 property in IGNORE_PROPERTIES && |                 property in IGNORE_PROPERTIES && | ||||||
|  | @ -56,6 +57,7 @@ export function expectToBeCorrectEntity<T extends object>( | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Checks that filtered is the correct representation of original as FilteredLearningObject. |  * Checks that filtered is the correct representation of original as FilteredLearningObject. | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger