add rendering tests

This commit is contained in:
Evan Almloff committed 2023-05-04 11:04:06 -05:00
1 parent 70687748d3
commit 1b199977d1
4 files changed
+118 -33

No files matched your search

+10 -3
View File
@@ -59,8 +59,15 @@ dioxus-core-macro = { path = "../core-macro" }
dioxus-hooks = { path = "../hooks" }
dioxus = { path = "../dioxus" }
exitcode = "1.1.2"
scraper = "0.16.0"
# These tests need to be run on the main thread, so they cannot use rust's test harness.
[[test]]
name = "check_events"
path = "headless_tests/events.rs"
harness = false
[[test]]
name = "headless_tests"
path = "headless_tests/main.rs"
harness = false
name = "check_rendering"
path = "headless_tests/rendering.rs"
harness = false