From 4037b647cbf7b318a79571685f32d000d30c1c31 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 9 Jun 2017 18:34:43 -0400 Subject: [PATCH] failing test for #625 --- .../samples/component-nested-deep/Level1.html | 15 +++++++++++++++ .../samples/component-nested-deep/Level2.html | 12 ++++++++++++ .../samples/component-nested-deep/Level3.html | 1 + .../samples/component-nested-deep/_config.js | 5 +++++ .../samples/component-nested-deep/main.html | 11 +++++++++++ 5 files changed, 44 insertions(+) create mode 100644 test/runtime/samples/component-nested-deep/Level1.html create mode 100644 test/runtime/samples/component-nested-deep/Level2.html create mode 100644 test/runtime/samples/component-nested-deep/Level3.html create mode 100644 test/runtime/samples/component-nested-deep/_config.js create mode 100644 test/runtime/samples/component-nested-deep/main.html diff --git a/test/runtime/samples/component-nested-deep/Level1.html b/test/runtime/samples/component-nested-deep/Level1.html new file mode 100644 index 0000000000..d483c9a0c0 --- /dev/null +++ b/test/runtime/samples/component-nested-deep/Level1.html @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/Level2.html b/test/runtime/samples/component-nested-deep/Level2.html new file mode 100644 index 0000000000..3ab519e45c --- /dev/null +++ b/test/runtime/samples/component-nested-deep/Level2.html @@ -0,0 +1,12 @@ +level 2 +{{yield}} + + \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/Level3.html b/test/runtime/samples/component-nested-deep/Level3.html new file mode 100644 index 0000000000..b153e7e37a --- /dev/null +++ b/test/runtime/samples/component-nested-deep/Level3.html @@ -0,0 +1 @@ +level 3 \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/_config.js b/test/runtime/samples/component-nested-deep/_config.js new file mode 100644 index 0000000000..cb2dc0b0ee --- /dev/null +++ b/test/runtime/samples/component-nested-deep/_config.js @@ -0,0 +1,5 @@ +export default { + test (assert, component) { + component.refs.l1.destroy(); + } +}; diff --git a/test/runtime/samples/component-nested-deep/main.html b/test/runtime/samples/component-nested-deep/main.html new file mode 100644 index 0000000000..d4882d5a6f --- /dev/null +++ b/test/runtime/samples/component-nested-deep/main.html @@ -0,0 +1,11 @@ + + + \ No newline at end of file