mirror of https://github.com/webpack/webpack.git
Merge pull request #7060 from webpack/test/any-comment-in-import
add test case for comments in import()
This commit is contained in:
commit
0ff29011e8
|
|
@ -0,0 +1,8 @@
|
|||
it("should allow random comments in import()", () => {
|
||||
return Promise.all([
|
||||
import(/* hello world */ "./module"),
|
||||
import(/* }); */ "./module"),
|
||||
import(/* test */ "./module"),
|
||||
import(/* 1234 */ "./module")
|
||||
]);
|
||||
});
|
||||
Loading…
Reference in New Issue