summaryrefslogtreecommitdiffstats
path: root/spec/basic.js
diff options
context:
space:
mode:
authorKevin Decker <kpdecker@gmail.com>2013-10-12 14:22:10 -0700
committerKevin Decker <kpdecker@gmail.com>2013-10-12 14:22:10 -0700
commit583141de7cb61eb70eaa6b33c25f475f3048071b (patch)
tree47c419f82f2941fbde5ff5aa33a85b79d6772b4c /spec/basic.js
parent782aae95d0b430058e2f65b8eba1621453f9055e (diff)
parent3f96319f103d1e9dc4a6de220d2a9934e00df0b6 (diff)
downloadhandlebars.js-583141de7cb61eb70eaa6b33c25f475f3048071b.zip
handlebars.js-583141de7cb61eb70eaa6b33c25f475f3048071b.tar.gz
handlebars.js-583141de7cb61eb70eaa6b33c25f475f3048071b.tar.bz2
Merge pull request #628 from wycats/es6-modules
Convert code to ES6 modules
Diffstat (limited to 'spec/basic.js')
-rw-r--r--spec/basic.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/basic.js b/spec/basic.js
index a46636c..e0e9a6a 100644
--- a/spec/basic.js
+++ b/spec/basic.js
@@ -1,3 +1,9 @@
+global.handlebarsEnv = null;
+
+beforeEach(function() {
+ global.handlebarsEnv = Handlebars.create();
+});
+
describe("basic context", function() {
it("most basic", function() {
shouldCompileTo("{{foo}}", { foo: "foo" }, "foo");