Files
odoo_source/addons/web/static/tests/boot_tests.js
T
qsm-odoo 8132884840 [REF] web: make boot.js independent of libraries
This is a first step towards lazy loading the majority of the JS: the
boot JS code should not depend on any libraries (underscore.js and
jQuery).

Even without lazy loading in mind, this would be a nice-to-have.

Part of https://github.com/odoo/odoo/pull/32181
task-1961045
2019-06-04 07:57:20 +00:00

19 lines
471 B
JavaScript

(function () {
"use strict";
odoo.__DEBUG__.didLogInfo.then(function () {
var modulesInfo = odoo.__DEBUG__.jsModules;
QUnit.module('Odoo 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");
});
});
})();