2018-01-16 06:58:15 +01:00
|
|
|
(function() {
|
|
|
|
"use strict";
|
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
flectra.__DEBUG__.didLogInfo.then(function() {
|
2018-01-16 06:58:15 +01:00
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
var modulesInfo = flectra.__DEBUG__.js_modules;
|
2018-01-16 06:58:15 +01:00
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
QUnit.module('Flectra JS Modules');
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
QUnit.test('all modules are properly loaded', function(assert) {
|
|
|
|
assert.expect(2);
|
|
|
|
|
|
|
|
assert.deepEqual(modulesInfo.missing, [],
|
|
|
|
"no js module should be missing");
|
|
|
|
assert.deepEqual(modulesInfo.failed, [],
|
|
|
|
"no js module should have failed");
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
})();
|