fix playwrite tests

This commit is contained in:
Evan Almloff committed 2023-07-03 08:17:31 -07:00
1 parent 4c37d5c210
commit 62e87d1dfa
2 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -16,6 +16,6 @@ serde = "1.0.159"
execute = "0.2.12"
[features]
default = ["web"]
default = []
ssr = ["axum", "tokio", "dioxus-fullstack/axum"]
web = ["dioxus-web"]
+1 -5
View File
@@ -25,14 +25,10 @@ fn main() {
.unwrap()
.wait()
.unwrap();
execute::shell("cargo run --features ssr --no-default-features")
.spawn()
.unwrap();
execute::shell("cargo run --features ssr").spawn().unwrap();
true
}));
PostServerData::register().unwrap();
GetServerData::register().unwrap();
tokio::runtime::Runtime::new()
.unwrap()
.block_on(async move {