mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
12 lines
353 B
JavaScript
12 lines
353 B
JavaScript
define(["require", "exports", "module", "test","bogus"], function(require, exports, module) {
|
|
var test = require('test');
|
|
try {
|
|
require('bogus');
|
|
test.print('FAIL require throws error when module missing', 'fail');
|
|
} catch (exception) {
|
|
test.print('PASS require throws error when module missing', 'pass');
|
|
}
|
|
test.print('DONE', 'info');
|
|
|
|
});
|