Merge pull request #1147 from Demonthos/fix-playwrite-tests

Fix playwrite tests
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-07-03 09:54:21 -07:00
commit b29b03661c
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 {