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

Commit e96441f

Browse files
committed
add unhandled rejection testing
1 parent d55a95b commit e96441f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,11 @@ function runTests() {
312312
// System['import']('loads/deperror');
313313
});
314314

315+
test('Unhandled rejection test', function(assert) {
316+
System['import']('non-existent');
317+
assert();
318+
});
319+
315320

316321
test('Export Syntax', function(assert) {
317322
System['import']('syntax/export').then(function(m) {

0 commit comments

Comments
 (0)