@@ -876,7 +876,7 @@ fn auto_discover_lock_file() {
876
876
. run ( ) ;
877
877
output
878
878
. assert_matches_text (
879
- r#"Download http://localhost:4260/@denotest/bin
879
+ r#"Download http://localhost:4260/@denotest%2fbin
880
880
error: Integrity check failed for package: "npm:@denotest/[email protected] ". Unable to verify that the package
881
881
is the same as when the lockfile was generated.
882
882
@@ -1058,10 +1058,10 @@ fn reload_info_not_found_cache_but_exists_remote() {
1058
1058
. run ( ) ;
1059
1059
output. assert_matches_text ( concat ! (
1060
1060
"[UNORDERED_START]\n " ,
1061
- "Download http://localhost:4260/@denotest/esm -basic\n " ,
1062
- "Download http://localhost:4260/@denotest/esm -import-cjs-default\n " ,
1063
- "Download http://localhost:4260/@denotest/cjs -default-export\n " ,
1064
- "Download http://localhost:4260/@denotest/cjs -default-export/1.0.0.tgz\n " ,
1061
+ "Download http://localhost:4260/@denotest%2fesm -basic\n " ,
1062
+ "Download http://localhost:4260/@denotest%2fesm -import-cjs-default\n " ,
1063
+ "Download http://localhost:4260/@denotest%2fcjs -default-export\n " ,
1064
+ "Download http://localhost:4260/@denotestcjs -default-export/1.0.0.tgz\n " ,
1065
1065
"Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz\n " ,
1066
1066
"Download http://localhost:4260/@denotest/esm-import-cjs-default/1.0.0.tgz\n " ,
1067
1067
"[UNORDERED_END]\n " ,
@@ -1088,8 +1088,8 @@ fn reload_info_not_found_cache_but_exists_remote() {
1088
1088
let output = test_context. new_command ( ) . args ( "run main.ts" ) . run ( ) ;
1089
1089
output. assert_matches_text ( concat ! (
1090
1090
"[UNORDERED_START]\n " ,
1091
- "Download http://localhost:4260/@denotest/esm -import-cjs-default\n " ,
1092
- "Download http://localhost:4260/@denotest/cjs -default-export\n " ,
1091
+ "Download http://localhost:4260/@denotest%2fesm -import-cjs-default\n " ,
1092
+ "Download http://localhost:4260/@denotest%2fcjs -default-export\n " ,
1093
1093
"[UNORDERED_END]\n " ,
1094
1094
"Node esm importing node cjs\n [WILDCARD]" ,
1095
1095
) ) ;
@@ -1120,8 +1120,8 @@ fn reload_info_not_found_cache_but_exists_remote() {
1120
1120
let output = test_context. new_command ( ) . args ( "run main.ts" ) . run ( ) ;
1121
1121
output. assert_matches_text ( concat ! (
1122
1122
"[UNORDERED_START]\n " ,
1123
- "Download http://localhost:4260/@denotest/esm -import-cjs-default\n " ,
1124
- "Download http://localhost:4260/@denotest/cjs -default-export\n " ,
1123
+ "Download http://localhost:4260/@denotest%2fesm -import-cjs-default\n " ,
1124
+ "Download http://localhost:4260/@denotest%2fcjs -default-export\n " ,
1125
1125
"[UNORDERED_END]\n " ,
1126
1126
"Node esm importing node cjs\n [WILDCARD]" ,
1127
1127
) ) ;
@@ -1159,8 +1159,8 @@ fn reload_info_not_found_cache_but_exists_remote() {
1159
1159
let output = test_context. new_command ( ) . args ( "run main.ts" ) . run ( ) ;
1160
1160
output. assert_matches_text ( concat ! (
1161
1161
"[UNORDERED_START]\n " ,
1162
- "Download http://localhost:4260/@denotest/esm -import-cjs-default\n " ,
1163
- "Download http://localhost:4260/@denotest/cjs -default-export\n " ,
1162
+ "Download http://localhost:4260/@denotest%2fesm -import-cjs-default\n " ,
1163
+ "Download http://localhost:4260/@denotest%2fcjs -default-export\n " ,
1164
1164
"[UNORDERED_END]\n " ,
1165
1165
"[UNORDERED_START]\n " ,
1166
1166
"Initialize @denotest/[email protected] \n " ,
@@ -1196,9 +1196,9 @@ fn reload_info_not_found_cache_but_exists_remote() {
1196
1196
let output = test_context. new_command ( ) . args ( "run main.ts" ) . run ( ) ;
1197
1197
output. assert_matches_text ( concat ! (
1198
1198
"[UNORDERED_START]\n " ,
1199
- "Download http://localhost:4260/@denotest/esm -basic\n " ,
1200
- "Download http://localhost:4260/@denotest/esm -import-cjs-default\n " ,
1201
- "Download http://localhost:4260/@denotest/cjs -default-export\n " ,
1199
+ "Download http://localhost:4260/@denotest%2fesm -basic\n " ,
1200
+ "Download http://localhost:4260/@denotest%2fesm -import-cjs-default\n " ,
1201
+ "Download http://localhost:4260/@denotest%2fcjs -default-export\n " ,
1202
1202
"[UNORDERED_END]\n " ,
1203
1203
"Initialize @denotest/[email protected] \n " ,
1204
1204
"Node esm importing node cjs\n [WILDCARD]" ,
@@ -1237,9 +1237,9 @@ fn reload_info_not_found_cache_but_exists_remote() {
1237
1237
let output = test_context. new_command ( ) . args ( "run main.ts" ) . run ( ) ;
1238
1238
output. assert_matches_text ( concat ! (
1239
1239
"[UNORDERED_START]\n " ,
1240
- "Download http://localhost:4260/@denotest/cjs -default-export\n " ,
1241
- "Download http://localhost:4260/@denotest/esm -basic\n " ,
1242
- "Download http://localhost:4260/@denotest/esm -import-cjs-default\n " ,
1240
+ "Download http://localhost:4260/@denotest%2fcjs -default-export\n " ,
1241
+ "Download http://localhost:4260/@denotest%2fesm -basic\n " ,
1242
+ "Download http://localhost:4260/@denotest%2fesm -import-cjs-default\n " ,
1243
1243
"[UNORDERED_END]\n " ,
1244
1244
"Node esm importing node cjs\n [WILDCARD]" ,
1245
1245
) ) ;
@@ -1419,7 +1419,7 @@ fn top_level_install_package_json_explicit_opt_in() {
1419
1419
temp_dir. write ( "main.ts" , "console.log(5);" ) ;
1420
1420
let output = test_context. new_command ( ) . args ( "cache main.ts" ) . run ( ) ;
1421
1421
output. assert_matches_text ( concat ! (
1422
- "Download http://localhost:4260/@denotest/esm -basic\n " ,
1422
+ "Download http://localhost:4260/@denotest%2fesm -basic\n " ,
1423
1423
"Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz\n " ,
1424
1424
"Initialize @denotest/[email protected] \n " ,
1425
1425
) ) ;
0 commit comments