flectra/addons/web/static/tests/boot_tests.js

21 lines
480 B
JavaScript
Raw Normal View History

(function() {
"use strict";
2018-01-16 11:34:37 +01:00
flectra.__DEBUG__.didLogInfo.then(function() {
2018-01-16 11:34:37 +01:00
var modulesInfo = flectra.__DEBUG__.js_modules;
2018-01-16 11:34:37 +01:00
QUnit.module('Flectra JS Modules');
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-07-13 11:51:12 +02:00
})();