Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 5090a9a

Browse files
committed
simple trace test
1 parent 1db7c4d commit 5090a9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/3-register-loader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,10 @@ describe('System Register Loader', function() {
231231
});
232232

233233
it('should load mixed bundles of register and registerDynamic', async function () {
234+
loader.trace = true;
234235
new Module().require(path.resolve(fileUrlToPath(loader.baseKey), 'dynamic-modules/mixed-bundle.js'));
235236
var m = await loader.import('tree/first');
237+
assert.equal(JSON.stringify(loader.loads['tree/first'].depMap), '{"./second":"tree/second","./amd":"tree/amd"}');
236238
assert.equal(m.p, 5);
237239
assert.equal(m.q, 4);
238240
assert.equal(m.a.is, 'amd');

0 commit comments

Comments
 (0)