File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
turbopack/crates/turbopack-tests/tests Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ async fn prepare_test(resource: RcStr) -> Result<Vc<PreparedTest>> {
248248 path : path. to_resolved ( ) . await ?,
249249 project_path : project_path. to_resolved ( ) . await ?,
250250 tests_path : tests_path. to_resolved ( ) . await ?,
251- project_root : project_root . to_resolved ( ) . await ? ,
251+ project_root,
252252 options,
253253 }
254254 . cell ( ) )
@@ -320,7 +320,7 @@ async fn run_test(prepared_test: Vc<PreparedTest>) -> Result<Vc<RunTestResult>>
320320 import_externals : true ,
321321 ..Default :: default ( )
322322 } ,
323- preset_env_versions : Some ( env. to_resolved ( ) . await ? ) ,
323+ preset_env_versions : Some ( env) ,
324324 tree_shaking_mode : options. tree_shaking_mode ,
325325 rules : vec ! [ (
326326 ContextCondition :: InDirectory ( "node_modules" . into( ) ) ,
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ async fn run_test(resource: RcStr) -> Result<Vc<FileSystemPath>> {
296296 css : CssOptionsContext {
297297 ..Default :: default ( )
298298 } ,
299- preset_env_versions : Some ( env. to_resolved ( ) . await ? ) ,
299+ preset_env_versions : Some ( env) ,
300300 rules : vec ! [ (
301301 ContextCondition :: InDirectory ( "node_modules" . into( ) ) ,
302302 ModuleOptionsContext {
@@ -357,8 +357,8 @@ async fn run_test(resource: RcStr) -> Result<Vc<FileSystemPath>> {
357357 project_root,
358358 path,
359359 path,
360- chunk_root_path. to_resolved ( ) . await ? ,
361- static_root_path. to_resolved ( ) . await ? ,
360+ chunk_root_path,
361+ static_root_path,
362362 env,
363363 options. runtime_type ,
364364 )
You can’t perform that action at this time.
0 commit comments