Fix render translation test (#24235)
This commit is contained in:
@@ -67,7 +67,7 @@ async function main() {
|
||||
// test the content
|
||||
await renderContent.liquid.parseAndRender(content, context)
|
||||
// test each translatable frontmatter property
|
||||
for (const key in translatableFm) {
|
||||
for (const key of translatableFm) {
|
||||
await renderContent.liquid.parseAndRender(data[key], context)
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user