ranile / material-yew

Yew wrapper for Material Web Components
https://material-yew.rm.rs
Apache License 2.0
230 stars 35 forks source link

Add test button.rs #40

Closed nash1111 closed 4 months ago

nash1111 commented 1 year ago

I added a test to see if button.rs can be converted as html. If this PR is OK, I will write tests for all elements. I will also try to make the test run automatically with GitHubActions You can test by running wasm-pack test --chrome --headless in material-yew/material-yew Thanks in advance.

ranile commented 4 months ago

This test doesn't do what you wanted it to do. It compares yew::Html instances instead of the actual HTML that is to be rendered.

I'm also closing this PR as all the library code has been rewritten and this doesn't really fit in anymore