mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00

Add asset dependencies Add field model Add field tests Add field app Add JS build Add end file blank line Adjust asset dependencies version Remove assets test libraries from build Remove unecessary comments Add end file blank line Fix indent
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();
|
|
}
|
|
};
|