diff --git a/test/runtime/samples/component-nested-deeper/Level1.html b/test/runtime/samples/component-nested-deeper/Level1.html new file mode 100644 index 0000000000..0789b14445 --- /dev/null +++ b/test/runtime/samples/component-nested-deeper/Level1.html @@ -0,0 +1,22 @@ +
+ {{#each values as value}} +

level 1 #{{value}}

+ + + And more stuff goes in here + + + {{/each}} +
+ + \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deeper/Level2.html b/test/runtime/samples/component-nested-deeper/Level2.html new file mode 100644 index 0000000000..6742c7d7f9 --- /dev/null +++ b/test/runtime/samples/component-nested-deeper/Level2.html @@ -0,0 +1,8 @@ +
+

level 2

+ {{#if condition}} + TRUE! {{yield}} + {{else}} + FALSE! {{yield}} + {{/if}} +
\ No newline at end of file diff --git a/test/runtime/samples/component-nested-deeper/Level3.html b/test/runtime/samples/component-nested-deeper/Level3.html new file mode 100644 index 0000000000..e09fc525a8 --- /dev/null +++ b/test/runtime/samples/component-nested-deeper/Level3.html @@ -0,0 +1,4 @@ +
+

level 3

+ {{yield}} +
\ No newline at end of file diff --git a/test/runtime/samples/component-nested-deeper/_config.js b/test/runtime/samples/component-nested-deeper/_config.js new file mode 100644 index 0000000000..6b216f84d6 --- /dev/null +++ b/test/runtime/samples/component-nested-deeper/_config.js @@ -0,0 +1,11 @@ +export default { + solo: true, + + data: { + values: [1, 2, 3, 4] + }, + + test(assert, component) { + component.set({ values: [2, 3] }); + } +}; diff --git a/test/runtime/samples/component-nested-deeper/main.html b/test/runtime/samples/component-nested-deeper/main.html new file mode 100644 index 0000000000..5ad2d9d319 --- /dev/null +++ b/test/runtime/samples/component-nested-deeper/main.html @@ -0,0 +1,11 @@ + + + \ No newline at end of file