Skip to content

Commit

Permalink
test(es/minifier): Add a test for an invalid issue (#6802)
Browse files Browse the repository at this point in the history
**Related issue:**
 
 - vercel/next.js#30237 (comment)
  • Loading branch information
kdy1 committed Jan 13, 2023
1 parent b27793f commit a299fd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc_ecma_minifier/tests/pass-1/regexp/1/input.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const foo = new RegExp("")
1 change: 1 addition & 0 deletions crates/swc_ecma_minifier/tests/pass-1/regexp/1/output.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const foo = RegExp("");

0 comments on commit a299fd0

Please sign in to comment.