0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests/fix_dynamic_import_errors.js
2020-12-15 16:52:55 +11:00

7 lines
197 B
JavaScript

import("./dynamic_import/b.js").catch(() => {
console.log("caught import error from b.js");
});
import("./dynamic_import/c.js").catch(() => {
console.log("caught import error from c.js");
});