From b1f829e25901c9596f8e50efd9b1a9ca9cc08074 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 6 Mar 2017 19:48:29 -0500 Subject: [PATCH] unit test --- test/generator/globals-accessible-directly/_config.js | 7 +++++++ test/generator/globals-accessible-directly/main.html | 1 + 2 files changed, 8 insertions(+) create mode 100644 test/generator/globals-accessible-directly/_config.js create mode 100644 test/generator/globals-accessible-directly/main.html diff --git a/test/generator/globals-accessible-directly/_config.js b/test/generator/globals-accessible-directly/_config.js new file mode 100644 index 0000000000..ee7e79fd17 --- /dev/null +++ b/test/generator/globals-accessible-directly/_config.js @@ -0,0 +1,7 @@ +export default { + html: '', + + test ( assert, component, target ) { + assert.htmlEqual( target.innerHTML, 'NaN' ); + } +}; diff --git a/test/generator/globals-accessible-directly/main.html b/test/generator/globals-accessible-directly/main.html new file mode 100644 index 0000000000..349b4b1d32 --- /dev/null +++ b/test/generator/globals-accessible-directly/main.html @@ -0,0 +1 @@ +{{NaN}}