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}}