From 7dff587a06dd88fcd19ce041199a5d41713a513b Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 28 Feb 2017 13:08:05 -0500 Subject: [PATCH] failing test for #222 --- test/generator/deconflict-builtins/_config.js | 8 ++++++++ test/generator/deconflict-builtins/get.js | 3 +++ test/generator/deconflict-builtins/main.html | 13 +++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 test/generator/deconflict-builtins/_config.js create mode 100644 test/generator/deconflict-builtins/get.js create mode 100644 test/generator/deconflict-builtins/main.html diff --git a/test/generator/deconflict-builtins/_config.js b/test/generator/deconflict-builtins/_config.js new file mode 100644 index 0000000000..14927e7ad3 --- /dev/null +++ b/test/generator/deconflict-builtins/_config.js @@ -0,0 +1,8 @@ +export default { + html: `got`, + + test ( assert, component ) { + assert.equal( component.get( 'foo' ), 'got' ); + component.teardown(); + } +}; \ No newline at end of file diff --git a/test/generator/deconflict-builtins/get.js b/test/generator/deconflict-builtins/get.js new file mode 100644 index 0000000000..865e2b1c43 --- /dev/null +++ b/test/generator/deconflict-builtins/get.js @@ -0,0 +1,3 @@ +export default function get () { + return 'got'; +} \ No newline at end of file diff --git a/test/generator/deconflict-builtins/main.html b/test/generator/deconflict-builtins/main.html new file mode 100644 index 0000000000..eb9de7d15f --- /dev/null +++ b/test/generator/deconflict-builtins/main.html @@ -0,0 +1,13 @@ +{{foo}} + + \ No newline at end of file