diff --git a/test/js/samples/debug-foo-bar-baz-things/expected-bundle.js b/test/js/samples/debug-foo-bar-baz-things/expected-bundle.js index 873b28aa2b..a6c539929c 100644 --- a/test/js/samples/debug-foo-bar-baz-things/expected-bundle.js +++ b/test/js/samples/debug-foo-bar-baz-things/expected-bundle.js @@ -259,9 +259,11 @@ function create_each_block(component, ctx) { text = createText(text_value); text_1 = createText("\n\t"); - const { foo, bar, baz, thing } = ctx; - console.log({ foo, bar, baz, thing }); - debugger; + { + const { foo, bar, baz, thing } = ctx; + console.log({ foo, bar, baz, thing }); + debugger; + } addLoc(span, file, 1, 1, 25); }, diff --git a/test/js/samples/debug-foo-bar-baz-things/expected.js b/test/js/samples/debug-foo-bar-baz-things/expected.js index eb8c70bac6..d57c4d7546 100644 --- a/test/js/samples/debug-foo-bar-baz-things/expected.js +++ b/test/js/samples/debug-foo-bar-baz-things/expected.js @@ -86,9 +86,11 @@ function create_each_block(component, ctx) { text = createText(text_value); text_1 = createText("\n\t"); - const { foo, bar, baz, thing } = ctx; - console.log({ foo, bar, baz, thing }); - debugger; + { + const { foo, bar, baz, thing } = ctx; + console.log({ foo, bar, baz, thing }); + debugger; + } addLoc(span, file, 1, 1, 25); }, diff --git a/test/js/samples/debug-foo/expected-bundle.js b/test/js/samples/debug-foo/expected-bundle.js index d4fd9ffaec..8e2147c322 100644 --- a/test/js/samples/debug-foo/expected-bundle.js +++ b/test/js/samples/debug-foo/expected-bundle.js @@ -259,9 +259,11 @@ function create_each_block(component, ctx) { text = createText(text_value); text_1 = createText("\n\t"); - const { foo } = ctx; - console.log({ foo }); - debugger; + { + const { foo } = ctx; + console.log({ foo }); + debugger; + } addLoc(span, file, 1, 1, 25); }, diff --git a/test/js/samples/debug-foo/expected.js b/test/js/samples/debug-foo/expected.js index 214ec7486e..ce2028e66e 100644 --- a/test/js/samples/debug-foo/expected.js +++ b/test/js/samples/debug-foo/expected.js @@ -86,9 +86,11 @@ function create_each_block(component, ctx) { text = createText(text_value); text_1 = createText("\n\t"); - const { foo } = ctx; - console.log({ foo }); - debugger; + { + const { foo } = ctx; + console.log({ foo }); + debugger; + } addLoc(span, file, 1, 1, 25); },