1 parent babc8a4 commit 946c4dfCopy full SHA for 946c4df
2 files changed
test/cases/parsing/comment-in-import/index.js
@@ -0,0 +1,8 @@
1
+it("should allow random comments in import()", () => {
2
+ return Promise.all([
3
+ import(/* hello world */ "./module"),
4
+ import(/* }); */ "./module"),
5
+ import(/* test */ "./module"),
6
+ import(/* 1234 */ "./module")
7
+ ]);
8
+});
test/cases/parsing/comment-in-import/module.js
0 commit comments