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