// vim: set ft=javascript: | |
// Set the require.js configuration for your test setup. | |
require.config( | |
<%= JSON.stringify(configInfo, null, '\t') %> | |
); | |
require([ | |
"app", | |
<% _.each(testFiles, function (test) {%> | |
'../<%= test %>', | |
<% }) %> | |
], function() { | |
if (window.mochaPhantomJS) { mochaPhantomJS.run(); } | |
else { mocha.run(); } | |
}); | |