Enable test-support on editor in tests

This commit is contained in:
Nathan Sobo 2023-05-20 09:54:38 -06:00
parent 35a9b90528
commit 986eafd84e
15 changed files with 35 additions and 0 deletions

View File

@ -21,3 +21,6 @@ workspace = { path = "../workspace" }
futures.workspace = true futures.workspace = true
smallvec.workspace = true smallvec.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -23,3 +23,6 @@ workspace = { path = "../workspace" }
anyhow.workspace = true anyhow.workspace = true
smol.workspace = true smol.workspace = true
futures.workspace = true futures.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -35,3 +35,6 @@ serde_derive.workspace = true
sysinfo = "0.27.1" sysinfo = "0.27.1"
tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" } tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
urlencoding = "2.1.2" urlencoding = "2.1.2"
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -23,6 +23,7 @@ workspace = { path = "../workspace" }
postage.workspace = true postage.workspace = true
[dev-dependencies] [dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] } gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] } language = { path = "../language", features = ["test-support"] }
workspace = { path = "../workspace", features = ["test-support"] } workspace = { path = "../workspace", features = ["test-support"] }

View File

@ -18,3 +18,6 @@ workspace = { path = "../workspace" }
postage.workspace = true postage.workspace = true
theme = { path = "../theme" } theme = { path = "../theme" }
util = { path = "../util" } util = { path = "../util" }
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -22,3 +22,6 @@ serde.workspace = true
schemars.workspace = true schemars.workspace = true
log.workspace = true log.workspace = true
shellexpand = "2.1.0" shellexpand = "2.1.0"
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -20,3 +20,6 @@ settings = { path = "../settings" }
util = { path = "../util" } util = { path = "../util" }
workspace = { path = "../workspace" } workspace = { path = "../workspace" }
anyhow.workspace = true anyhow.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -24,6 +24,7 @@ serde.workspace = true
anyhow.workspace = true anyhow.workspace = true
[dev-dependencies] [dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] } gpui = { path = "../gpui", features = ["test-support"] }
util = { path = "../util", features = ["test-support"] } util = { path = "../util", features = ["test-support"] }
unindent.workspace = true unindent.workspace = true

View File

@ -22,3 +22,6 @@ workspace = { path = "../workspace" }
ordered-float.workspace = true ordered-float.workspace = true
postage.workspace = true postage.workspace = true
smol.workspace = true smol.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -20,6 +20,7 @@ workspace = { path = "../workspace" }
parking_lot.workspace = true parking_lot.workspace = true
[dev-dependencies] [dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] } gpui = { path = "../gpui", features = ["test-support"] }
serde_json.workspace = true serde_json.workspace = true
workspace = { path = "../workspace", features = ["test-support"] } workspace = { path = "../workspace", features = ["test-support"] }

View File

@ -27,6 +27,7 @@ smol.workspace = true
[dev-dependencies] [dev-dependencies]
futures.workspace = true futures.workspace = true
editor = { path = "../editor", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"] } settings = { path = "../settings", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] } gpui = { path = "../gpui", features = ["test-support"] }
language = { path = "../language", features = ["test-support"] } language = { path = "../language", features = ["test-support"] }

View File

@ -24,3 +24,6 @@ workspace = { path = "../workspace" }
ordered-float.workspace = true ordered-float.workspace = true
postage.workspace = true postage.workspace = true
smol.workspace = true smol.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -39,6 +39,7 @@ serde_derive.workspace = true
[dev-dependencies] [dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] } gpui = { path = "../gpui", features = ["test-support"] }
client = { path = "../client", features = ["test-support"]} client = { path = "../client", features = ["test-support"]}
project = { path = "../project", features = ["test-support"]} project = { path = "../project", features = ["test-support"]}

View File

@ -23,3 +23,6 @@ log.workspace = true
parking_lot.workspace = true parking_lot.workspace = true
postage.workspace = true postage.workspace = true
smol.workspace = true smol.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }

View File

@ -30,3 +30,6 @@ anyhow.workspace = true
log.workspace = true log.workspace = true
schemars.workspace = true schemars.workspace = true
serde.workspace = true serde.workspace = true
[dev-dependencies]
editor = { path = "../editor", features = ["test-support"] }