Skip to content

Commit

Permalink
Fixing broken test case setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MeoMix committed May 6, 2015
1 parent 72b5efb commit 10a1a8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
// require(['test/plugins']);
//});

define('../common/requireConfig', function() {
define(['../common/requireConfig'], function() {
'use strict';

// It didn't make sense to put testing information into requireConfig.
// So, I mix it into the config object here.
requirejs.s.contexts._.config.paths.chai = 'thirdParty/chai';
requirejs.s.contexts._.config.paths.mocha = 'thirdParty/mocha';
requirejs.s.contexts._.config.paths.sinon = 'thirdParty/sinon';
requirejs.s.contexts._.config.paths.chai = 'thirdParty/test/chai';
requirejs.s.contexts._.config.paths.mocha = 'thirdParty/test/mocha';
requirejs.s.contexts._.config.paths.sinon = 'thirdParty/test/sinon';

requirejs.s.contexts._.config.shim.mocha = {
exports: 'window.mocha'
Expand Down

0 comments on commit 10a1a8d

Please sign in to comment.