MCPcopy
hub / github.com/systemjs/systemjs / assertLoadOrder

Function assertLoadOrder

test/system-core.mjs:386–391  ·  view source on GitHub ↗
(module, exports)

Source from the content-addressed store, hash-verified

384
385 describe('Loading order', function() {
386 async function assertLoadOrder(module, exports) {
387 const m = await loader.import('./register-modules/' + module);
388 exports.forEach(function(name) {
389 assert.equal(m[name], name);
390 });
391 }
392
393 it('should load in order (a)', async function () {
394 await assertLoadOrder('a.js', ['a', 'b']);

Callers 1

system-core.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…