Files
Phraseanet/www/scripts/tests/main.js
Nicolas Le Goff 0539db7598 Add global register feature
Tweak admin field app

Fix typo

Tweaks

Fix typo
2013-05-27 23:26:48 +02:00

30 lines
469 B
JavaScript

require.config({
baseUrl: "../../scripts",
paths: {
specs: "tests/specs",
chai: "../assets/chai/chai"
},
shim : {
shai: {
exports: "chai"
}
}
});
mocha.setup({
ui: "bdd",
ignoreLeaks: true
});
console = window.console || function() {};
window.notrack = true;
var runMocha = function() {
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
};