diff --git a/test/runtime/samples/each-block-destructured-array/_config.js b/test/runtime/samples/each-block-destructured-array/_config.js index ab7bcfe1b7..cd29960426 100644 --- a/test/runtime/samples/each-block-destructured-array/_config.js +++ b/test/runtime/samples/each-block-destructured-array/_config.js @@ -1,9 +1,9 @@ export default { data: { - animalPaws: { - raccoon: 'hands', - eagle: 'wings' - } + animalPawsEntries: [ + ['raccoon', 'hands'], + ['eagle', 'wings'] + ] }, html: ` diff --git a/test/runtime/samples/each-block-destructured-array/main.html b/test/runtime/samples/each-block-destructured-array/main.html index ec553692c8..6ee90537ab 100644 --- a/test/runtime/samples/each-block-destructured-array/main.html +++ b/test/runtime/samples/each-block-destructured-array/main.html @@ -1,3 +1,3 @@ -{{#each Object.entries(animalPaws) as [animal, pawType]}} +{{#each animalPawsEntries as [animal, pawType]}}

{{animal}}: {{pawType}}

{{/each}}