From d6803566228bb28ae5d1ad8416f8e1b7f746ab3c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 8 Mar 2018 22:06:53 -0500 Subject: [PATCH] update test --- test/js/samples/each-block-changed-check/expected-bundle.js | 2 ++ test/js/samples/each-block-changed-check/expected.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/js/samples/each-block-changed-check/expected-bundle.js b/test/js/samples/each-block-changed-check/expected-bundle.js index 59b104ef0e..97ad53ad14 100644 --- a/test/js/samples/each-block-changed-check/expected-bundle.js +++ b/test/js/samples/each-block-changed-check/expected-bundle.js @@ -212,6 +212,7 @@ function create_main_fragment(component, state) { for (var i = 0; i < comments.length; i += 1) { each_blocks[i] = create_each_block(component, assign({}, state, { + comments: comments, comment: comments[i], i: i })); @@ -244,6 +245,7 @@ function create_main_fragment(component, state) { if (changed.comments || changed.elapsed || changed.time) { for (var i = 0; i < comments.length; i += 1) { var each_context = assign({}, state, { + comments: comments, comment: comments[i], i: i }); diff --git a/test/js/samples/each-block-changed-check/expected.js b/test/js/samples/each-block-changed-check/expected.js index f76e10d943..15a29e2739 100644 --- a/test/js/samples/each-block-changed-check/expected.js +++ b/test/js/samples/each-block-changed-check/expected.js @@ -10,6 +10,7 @@ function create_main_fragment(component, state) { for (var i = 0; i < comments.length; i += 1) { each_blocks[i] = create_each_block(component, assign({}, state, { + comments: comments, comment: comments[i], i: i })); @@ -42,6 +43,7 @@ function create_main_fragment(component, state) { if (changed.comments || changed.elapsed || changed.time) { for (var i = 0; i < comments.length; i += 1) { var each_context = assign({}, state, { + comments: comments, comment: comments[i], i: i });