diff options
author | await-ovo <13152410380@163.com> | 2023-07-04 02:41:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 18:41:09 +0000 |
commit | 208e65d33a6eed09404ecb0bc6858ce95c754f81 (patch) | |
tree | b8150630e110013379fa292b2145b819d28f4b2c /cli/tests/integration | |
parent | d632cce129cb7025a34cf0aa7262a38fb12f47c4 (diff) |
fix(npm): escape export identifier in double quoted string (#19694)
Diffstat (limited to 'cli/tests/integration')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 884f2a3a9..6e35456bf 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -81,6 +81,13 @@ itest!(cjs_this_in_exports { exit_code: 1, }); +itest!(cjs_invalid_name_exports { + args: "run --allow-read --quiet npm/cjs-invalid-name-exports/main.ts", + output: "npm/cjs-invalid-name-exports/main.out", + envs: env_vars_for_npm_tests(), + http_server: true, +}); + itest!(translate_cjs_to_esm { args: "run -A --quiet npm/translate_cjs_to_esm/main.js", output: "npm/translate_cjs_to_esm/main.out", |