Cargo Features
dom_testing_library has no features set by default.
[dependencies]
dom_testing_library = { version = "0.1.0", features = ["leptos", "unit_tests"] }
- leptos
-
my vscode rust analyzer needs this and I don't know why.
- unit_tests
-
we need to feature gate unit tests because it seems wasm-pack test can only test one at a time, integration or unit test. Not both like normal.