Skip to content

Commit 73994f6

Browse files
committed
more tweaks
1 parent ace30a1 commit 73994f6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

turbopack/crates/turbopack-tracing/tests/node-file-trace.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ use turbopack::{
4242
},
4343
};
4444
use turbopack_core::{
45+
chunk::SourceMapsType,
4546
compile_time_info::CompileTimeInfo,
4647
context::AssetContext,
4748
environment::{Environment, ExecutionEnvironment, NodeJsEnvironment},

turbopack/crates/turbopack-tracing/tests/unit.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,12 @@ async fn node_file_trace_operation(package_root: RcStr, input: RcStr) -> Result<
209209
enable_typescript_transform: Some(
210210
TypescriptTransformOptions::default().resolved_cell(),
211211
),
212+
// enable_types should not be enabled here. It gets set automatically when a TS file
213+
// is encountered.
212214
..Default::default()
213215
},
214216
css: CssOptionsContext {
217+
source_maps: SourceMapsType::None,
215218
enable_raw_css: true,
216219
..Default::default()
217220
},

0 commit comments

Comments
 (0)