fix: rotation functionality for PDF page and add corresponding tests

This commit is contained in:
alam00000
2026-03-09 19:56:50 +05:30
parent 1d68691331
commit f57ea089e9
5 changed files with 395 additions and 12 deletions

View File

@@ -261,6 +261,9 @@ async function generateI18nPages() {
if (processed % 10 === 0 || processed === total) {
console.log(` Progress: ${processed}/${total} pages`);
}
// Clean up JSDOM instances
await new Promise((resolve) => setImmediate(resolve));
}
updateEnglishFile(filePath, originalContent);