Update test/backend-test/check-translations.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Frank Elsinga
2026-01-06 00:21:56 +01:00
committed by GitHub
parent 7af6a34f20
commit 6eebee0c5e

View File

@@ -51,11 +51,8 @@ describe("Check Translations", () => {
}
});
} catch (e) {
if (e instanceof TypeError && e.message.includes("is not a function")) {
// Ignore errors from binary files
} else {
console.error(`Error processing file: ${filePath}`, e);
}
console.error(`Error processing file: ${filePath}`, e);
throw e;
}
}
}