Fix async test to verify completion

Fixes #1829
This commit is contained in:
Leo Balter 2018-10-05 10:33:08 -04:00
parent 754fe94c5d
commit 972fff9e17
1 changed files with 5 additions and 1 deletions

View File

@ -24,4 +24,8 @@ features: [dynamic-import]
flags: [async]
---*/
if (true) import(/*{ params }*/);
if (true) import(/*{ params }*/).then(imported => {
/*{ body }*/
}).then($DONE, $DONE).catch($DONE);