fix(backend): Nog een linting-probleem opgelost

This commit is contained in:
Gerald Schmittinger 2025-04-18 23:50:35 +02:00
parent ba912c3ef0
commit 1382e2300b

View file

@ -19,6 +19,7 @@ export function expectToBeCorrectEntity<T extends object>(
propertyPrefix = ""
): void {
for (const property in expected) {
if (Object.prototype.hasOwnProperty.call(expected, property)) {
const prefixedProperty = propertyPrefix + property;
if (
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.