mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
30 lines
469 B
JavaScript
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();
|
|
}
|
|
};
|