Skip to content

Commit 342adb0

Browse files
authored
[turbopack] Move turbo-tasks-testing to dev-dependencies (#86745)
This is testonly so shouldn't be built as part of our release
1 parent 88add47 commit 342adb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/next-api/src/operation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async fn pick_endpoint(
148148
op: OperationVc<Entrypoints>,
149149
selector: EndpointSelector,
150150
) -> Result<Vc<OptionEndpoint>> {
151-
let endpoints = op.connect().strongly_consistent().await?;
151+
let endpoints = op.read_strongly_consistent().await?;
152152
let endpoint = match selector {
153153
EndpointSelector::InstrumentationNodeJs => {
154154
endpoints.instrumentation.as_ref().map(|i| i.node_js)

turbopack/crates/turbo-tasks-backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ thread_local = { workspace = true }
5555
turbo-persistence = { workspace = true }
5656
turbo-rcstr = { workspace = true }
5757
turbo-tasks = { workspace = true }
58-
turbo-tasks-testing = { workspace = true }
5958

6059
[dev-dependencies]
6160
criterion = { workspace = true, features = ["async_tokio"] }
@@ -64,6 +63,7 @@ regex = { workspace = true }
6463
tempfile = { workspace = true }
6564
turbo-tasks-malloc = { workspace = true }
6665
rstest = { workspace = true }
66+
turbo-tasks-testing = { workspace = true }
6767

6868

6969
[[bench]]

0 commit comments

Comments
 (0)