(module, exports)
| 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']); |
no outgoing calls
no test coverage detected
searching dependent graphs…