Skip to content

Commit

Permalink
Merge pull request #7060 from webpack/test/any-comment-in-import
Browse files Browse the repository at this point in the history
add test case for comments in import()
  • Loading branch information
sokra committed Apr 17, 2018
2 parents babc8a4 + 946c4df commit 0ff2901
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/cases/parsing/comment-in-import/index.js
@@ -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")
]);
});
Empty file.

0 comments on commit 0ff2901

Please sign in to comment.