Skip to content

Commit 886ba86

Browse files
committed
test/chore: add chai/expect and sinon to "runtime"-environment
1 parent 0817dad commit 886ba86

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec/env/runtime.js

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ require('./common');
33
var fs = require('fs'),
44
vm = require('vm');
55

6+
var chai = require('chai');
7+
var dirtyChai = require('dirty-chai');
8+
9+
10+
chai.use(dirtyChai);
11+
global.expect = chai.expect;
12+
13+
global.sinon = require('sinon');
14+
615
global.Handlebars = 'no-conflict';
716

817
var filename = 'dist/handlebars.runtime.js';

0 commit comments

Comments
 (0)