From 2124aaf5bed78f783bba29a93de81b5d8ea10996 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 29 Apr 2018 10:11:36 -0400 Subject: [PATCH] failing test for #1214 --- .../Nested.html | 11 +++++++++++ .../_config.js | 8 ++++++++ .../main.html | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html create mode 100644 test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js create mode 100644 test/runtime/samples/dynamic-component-bind-in-oncreate/main.html diff --git a/test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html b/test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html new file mode 100644 index 0000000000..f13facf227 --- /dev/null +++ b/test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html @@ -0,0 +1,11 @@ +

Text in Nested.html: {text}

+ + diff --git a/test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js b/test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js new file mode 100644 index 0000000000..34150a825f --- /dev/null +++ b/test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js @@ -0,0 +1,8 @@ +export default { + 'skip-ssr': true, + + html: ` +

text in App.html: Changed in Nested

+

Text in Nested.html: Changed in Nested

+ ` +}; \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bind-in-oncreate/main.html b/test/runtime/samples/dynamic-component-bind-in-oncreate/main.html new file mode 100644 index 0000000000..94db75e2e4 --- /dev/null +++ b/test/runtime/samples/dynamic-component-bind-in-oncreate/main.html @@ -0,0 +1,18 @@ +

text in App.html: {text}

+ + + \ No newline at end of file