fix playwrite tests

This commit is contained in:
Evan Almloff 2023-07-03 08:17:31 -07:00
parent 4c37d5c210
commit 62e87d1dfa
2 changed files with 2 additions and 6 deletions

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"]

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 {