Skip to content

Commit

Permalink
fix scriptLoad test in Node
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 2, 2016
1 parent e085343 commit 428b16e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test.js
Expand Up @@ -983,14 +983,15 @@ asyncTest('Scriptload precompiled global with exports still defined', function()
meta: {
'tests/global-single-compiled.js': {
scriptLoad: true,
exports: 'foobar'
exports: 'foobar',
format: typeof global != 'undefined' ? 'register' : 'global'
}
}
});
System['import']('tests/global-single-compiled.js').then(function(m) {
ok(m == 'foo');
start();
});
}, err);
});

asyncTest('Multi-format deps meta', function() {
Expand Down

0 comments on commit 428b16e

Please sign in to comment.