From 886ba86c2f9cc71b7d99b9018fbe2d72a57085cc Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Sun, 17 Nov 2019 22:18:20 +0100 Subject: [PATCH] test/chore: add chai/expect and sinon to "runtime"-environment --- spec/env/runtime.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/env/runtime.js b/spec/env/runtime.js index 642acd348..4f6d28534 100644 --- a/spec/env/runtime.js +++ b/spec/env/runtime.js @@ -3,6 +3,15 @@ require('./common'); var fs = require('fs'), vm = require('vm'); +var chai = require('chai'); +var dirtyChai = require('dirty-chai'); + + +chai.use(dirtyChai); +global.expect = chai.expect; + +global.sinon = require('sinon'); + global.Handlebars = 'no-conflict'; var filename = 'dist/handlebars.runtime.js';