Skip to content

Commit

Permalink
test/chore: add chai/expect and sinon to "runtime"-environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Nov 17, 2019
1 parent 0817dad commit 886ba86
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/env/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ require('./common');
var fs = require('fs'),
vm = require('vm');

var chai = require('chai');

This comment has been minimized.

Copy link
@anshuman35
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';
Expand Down

0 comments on commit 886ba86

Please sign in to comment.