mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
fix(npm): remove export binding to match node (#15837)
This commit is contained in:
parent
a54d5654a2
commit
3b0de03b59
9 changed files with 42 additions and 21 deletions
|
@ -61,6 +61,14 @@ itest!(cjs_reexport_collision {
|
|||
http_server: true,
|
||||
});
|
||||
|
||||
itest!(cjs_this_in_exports {
|
||||
args: "run --allow-read --unstable --quiet npm/cjs_this_in_exports/main.js",
|
||||
output: "npm/cjs_this_in_exports/main.out",
|
||||
envs: env_vars(),
|
||||
http_server: true,
|
||||
exit_code: 1,
|
||||
});
|
||||
|
||||
itest!(translate_cjs_to_esm {
|
||||
args: "run --unstable -A --quiet npm/translate_cjs_to_esm/main.js",
|
||||
output: "npm/translate_cjs_to_esm/main.out",
|
||||
|
@ -422,6 +430,7 @@ fn env_vars_no_sync_download() -> Vec<(String, String)> {
|
|||
"DENO_NPM_REGISTRY".to_string(),
|
||||
"http://localhost:4545/npm/registry/".to_string(),
|
||||
),
|
||||
("NO_COLOR".to_string(), "1".to_string()),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue