Content-Length: 271616 | pFad | https://github.com/wycats/handlebars.js/commit/886ba86c2f9cc71b7d99b9018fbe2d72a57085cc

6895F06A test/chore: add chai/expect and sinon to "runtime"-environment · handlebars-lang/handlebars.js@886ba86 · GitHub
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

Lines changed: 9 additions & 0 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/wycats/handlebars.js/commit/886ba86c2f9cc71b7d99b9018fbe2d72a57085cc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy