Skip to content

Commit b0d51ac

Browse files
committed
revert regex edit
1 parent 10e5620 commit b0d51ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/es-module/test-esm-undefined-cjs-global-like-variables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ assert.rejects(
3838

3939
assert.rejects(
4040
import('data:text/javascript,require;//.js'),
41-
/^(?:(?!use the '\.cjs' file extension)[\s\S])*$/
41+
/^(?:(?!use the '\.cjs' file extension).)*$/s
4242
).then(common.mustCall());

0 commit comments

Comments
 (0)