Skip to content

Commit

Permalink
make expect importable
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsiaoming Yang committed Mar 21, 2013
1 parent 9c8495b commit 553e7c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/mocha-runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
(function() {
mocha.setup('bdd');
puerh.use('expect');
define('expect', function(require, exports, module) {
module.exports = expect;
});

var data = {{config.package|json_encode}}

if (data.spm && data.spm.alias) {
Expand Down

0 comments on commit 553e7c6

Please sign in to comment.