crates/activity_indicator/Cargo.toml 🔗
@@ -21,3 +21,6 @@ workspace = { path = "../workspace" }
futures.workspace = true
smallvec.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
Nathan Sobo created
Enable the `"test-support"` feature whenever we depend on the `editor`
crate in tests.
If we don't do this, we end up depending on `livekit_client` without
enabling `"test-support"`, and this causes us to link against
`WebRTC.framework` in its build script, which causes a dynamic linker
error when starting the tests.
Fixes
https://linear.app/zed-industries/issue/Z-1646/cant-run-package-tests-for-activity-monitor-and-auto-update
Release Notes:
* No notes
crates/activity_indicator/Cargo.toml | 3 +++
crates/copilot_button/Cargo.toml | 3 +++
crates/feedback/Cargo.toml | 3 +++
crates/file_finder/Cargo.toml | 1 +
crates/go_to_line/Cargo.toml | 3 +++
crates/journal/Cargo.toml | 3 +++
crates/language_selector/Cargo.toml | 3 +++
crates/lsp_log/Cargo.toml | 1 +
crates/outline/Cargo.toml | 3 +++
crates/picker/Cargo.toml | 1 +
crates/project_symbols/Cargo.toml | 1 +
crates/recent_projects/Cargo.toml | 3 +++
crates/terminal_view/Cargo.toml | 1 +
crates/theme_selector/Cargo.toml | 3 +++
crates/welcome/Cargo.toml | 3 +++
15 files changed, 35 insertions(+)
@@ -21,3 +21,6 @@ workspace = { path = "../workspace" }
futures.workspace = true
smallvec.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -23,3 +23,6 @@ workspace = { path = "../workspace" }
anyhow.workspace = true
smol.workspace = true
futures.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -35,3 +35,6 @@ serde_derive.workspace = true
sysinfo = "0.27.1"
tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
urlencoding = "2.1.2"
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -23,6 +23,7 @@ workspace = { path = "../workspace" }
postage.workspace = true
[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] }
workspace = { path = "../workspace", features = ["test-support"] }
@@ -18,3 +18,6 @@ workspace = { path = "../workspace" }
postage.workspace = true
theme = { path = "../theme" }
util = { path = "../util" }
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -22,3 +22,6 @@ serde.workspace = true
schemars.workspace = true
log.workspace = true
shellexpand = "2.1.0"
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -20,3 +20,6 @@ settings = { path = "../settings" }
util = { path = "../util" }
workspace = { path = "../workspace" }
anyhow.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -24,6 +24,7 @@ serde.workspace = true
anyhow.workspace = true
[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
util = { path = "../util", features = ["test-support"] }
unindent.workspace = true
@@ -22,3 +22,6 @@ workspace = { path = "../workspace" }
ordered-float.workspace = true
postage.workspace = true
smol.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -20,6 +20,7 @@ workspace = { path = "../workspace" }
parking_lot.workspace = true
[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
serde_json.workspace = true
workspace = { path = "../workspace", features = ["test-support"] }
@@ -27,6 +27,7 @@ smol.workspace = true
[dev-dependencies]
futures.workspace = true
+editor = { path = "../editor", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] }
@@ -24,3 +24,6 @@ workspace = { path = "../workspace" }
ordered-float.workspace = true
postage.workspace = true
smol.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -39,6 +39,7 @@ serde_derive.workspace = true
[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
client = { path = "../client", features = ["test-support"]}
project = { path = "../project", features = ["test-support"]}
@@ -23,3 +23,6 @@ log.workspace = true
parking_lot.workspace = true
postage.workspace = true
smol.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }
@@ -30,3 +30,6 @@ anyhow.workspace = true
log.workspace = true
schemars.workspace = true
serde.workspace = true
+
+[dev-dependencies]
+editor = { path = "../editor", features = ["test-support"] }