From 0984e80fadd389fa4177f5b97de33151b9bf4453 Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Mon, 9 Oct 2017 21:12:21 -0500 Subject: [PATCH] Remove Object.entries from test --- .../samples/each-block-destructured-array/_config.js | 8 ++++---- .../samples/each-block-destructured-array/main.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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}}