summaryrefslogtreecommitdiff
path: root/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorhaturau <135221985+haturatu@users.noreply.github.com>2024-11-20 01:20:47 +0900
committerGitHub <noreply@github.com>2024-11-20 01:20:47 +0900
commit85719a67e59c7aa45bead26e4942d7df8b1b42d4 (patch)
treeface0aecaac53e93ce2f23b53c48859bcf1a36ec /tests/integration/npm_tests.rs
parent67697bc2e4a62a9670699fd18ad0dd8efc5bd955 (diff)
parent186b52731c6bb326c4d32905c5e732d082e83465 (diff)
Merge branch 'denoland:main' into main
Diffstat (limited to 'tests/integration/npm_tests.rs')
-rw-r--r--tests/integration/npm_tests.rs36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs
index f47b1bdd4..f8c6eebf3 100644
--- a/tests/integration/npm_tests.rs
+++ b/tests/integration/npm_tests.rs
@@ -876,7 +876,7 @@ fn auto_discover_lock_file() {
.run();
output
.assert_matches_text(
-r#"Download http://localhost:4260/@denotest/bin
+r#"Download http://localhost:4260/@denotest%2fbin
error: Integrity check failed for package: "npm:@denotest/bin@1.0.0". Unable to verify that the package
is the same as when the lockfile was generated.
@@ -1058,10 +1058,10 @@ fn reload_info_not_found_cache_but_exists_remote() {
.run();
output.assert_matches_text(concat!(
"[UNORDERED_START]\n",
- "Download http://localhost:4260/@denotest/esm-basic\n",
- "Download http://localhost:4260/@denotest/esm-import-cjs-default\n",
- "Download http://localhost:4260/@denotest/cjs-default-export\n",
- "Download http://localhost:4260/@denotest/cjs-default-export/1.0.0.tgz\n",
+ "Download http://localhost:4260/@denotest%2fesm-basic\n",
+ "Download http://localhost:4260/@denotest%2fesm-import-cjs-default\n",
+ "Download http://localhost:4260/@denotest%2fcjs-default-export\n",
+ "Download http://localhost:4260/@denotestcjs-default-export/1.0.0.tgz\n",
"Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz\n",
"Download http://localhost:4260/@denotest/esm-import-cjs-default/1.0.0.tgz\n",
"[UNORDERED_END]\n",
@@ -1088,8 +1088,8 @@ fn reload_info_not_found_cache_but_exists_remote() {
let output = test_context.new_command().args("run main.ts").run();
output.assert_matches_text(concat!(
"[UNORDERED_START]\n",
- "Download http://localhost:4260/@denotest/esm-import-cjs-default\n",
- "Download http://localhost:4260/@denotest/cjs-default-export\n",
+ "Download http://localhost:4260/@denotest%2fesm-import-cjs-default\n",
+ "Download http://localhost:4260/@denotest%2fcjs-default-export\n",
"[UNORDERED_END]\n",
"Node esm importing node cjs\n[WILDCARD]",
));
@@ -1120,8 +1120,8 @@ fn reload_info_not_found_cache_but_exists_remote() {
let output = test_context.new_command().args("run main.ts").run();
output.assert_matches_text(concat!(
"[UNORDERED_START]\n",
- "Download http://localhost:4260/@denotest/esm-import-cjs-default\n",
- "Download http://localhost:4260/@denotest/cjs-default-export\n",
+ "Download http://localhost:4260/@denotest%2fesm-import-cjs-default\n",
+ "Download http://localhost:4260/@denotest%2fcjs-default-export\n",
"[UNORDERED_END]\n",
"Node esm importing node cjs\n[WILDCARD]",
));
@@ -1159,8 +1159,8 @@ fn reload_info_not_found_cache_but_exists_remote() {
let output = test_context.new_command().args("run main.ts").run();
output.assert_matches_text(concat!(
"[UNORDERED_START]\n",
- "Download http://localhost:4260/@denotest/esm-import-cjs-default\n",
- "Download http://localhost:4260/@denotest/cjs-default-export\n",
+ "Download http://localhost:4260/@denotest%2fesm-import-cjs-default\n",
+ "Download http://localhost:4260/@denotest%2fcjs-default-export\n",
"[UNORDERED_END]\n",
"[UNORDERED_START]\n",
"Initialize @denotest/cjs-default-export@1.0.0\n",
@@ -1196,9 +1196,9 @@ fn reload_info_not_found_cache_but_exists_remote() {
let output = test_context.new_command().args("run main.ts").run();
output.assert_matches_text(concat!(
"[UNORDERED_START]\n",
- "Download http://localhost:4260/@denotest/esm-basic\n",
- "Download http://localhost:4260/@denotest/esm-import-cjs-default\n",
- "Download http://localhost:4260/@denotest/cjs-default-export\n",
+ "Download http://localhost:4260/@denotest%2fesm-basic\n",
+ "Download http://localhost:4260/@denotest%2fesm-import-cjs-default\n",
+ "Download http://localhost:4260/@denotest%2fcjs-default-export\n",
"[UNORDERED_END]\n",
"Initialize @denotest/esm-basic@1.0.0\n",
"Node esm importing node cjs\n[WILDCARD]",
@@ -1237,9 +1237,9 @@ fn reload_info_not_found_cache_but_exists_remote() {
let output = test_context.new_command().args("run main.ts").run();
output.assert_matches_text(concat!(
"[UNORDERED_START]\n",
- "Download http://localhost:4260/@denotest/cjs-default-export\n",
- "Download http://localhost:4260/@denotest/esm-basic\n",
- "Download http://localhost:4260/@denotest/esm-import-cjs-default\n",
+ "Download http://localhost:4260/@denotest%2fcjs-default-export\n",
+ "Download http://localhost:4260/@denotest%2fesm-basic\n",
+ "Download http://localhost:4260/@denotest%2fesm-import-cjs-default\n",
"[UNORDERED_END]\n",
"Node esm importing node cjs\n[WILDCARD]",
));
@@ -1419,7 +1419,7 @@ fn top_level_install_package_json_explicit_opt_in() {
temp_dir.write("main.ts", "console.log(5);");
let output = test_context.new_command().args("cache main.ts").run();
output.assert_matches_text(concat!(
- "Download http://localhost:4260/@denotest/esm-basic\n",
+ "Download http://localhost:4260/@denotest%2fesm-basic\n",
"Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz\n",
"Initialize @denotest/esm-basic@1.0.0\n",
));