From 8f6e6859f7f33fa68764dca13be9ef096304df4e Mon Sep 17 00:00:00 2001 From: Axelen123 Date: Fri, 28 Jun 2019 18:40:10 +0200 Subject: [PATCH] Update tests --- test/js/samples/debug-hoisted/expected.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/js/samples/debug-hoisted/expected.js b/test/js/samples/debug-hoisted/expected.js index 51d8bf63a3..8a1f0ff9d4 100644 --- a/test/js/samples/debug-hoisted/expected.js +++ b/test/js/samples/debug-hoisted/expected.js @@ -43,6 +43,14 @@ let kobzol = 5; function instance($$self) { let obj = { x: 5 }; + $$self.$capture_state = () => { + return {} + }; + + $$self.$inject_state = $$props => { + return + }; + return { obj }; }