Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ jobs:
CHROMEDRIVER="$(which chromedriver)" cargo test --target wasm32-unknown-unknown
GECKODRIVER="$(which geckodriver)" cargo test --target wasm32-unknown-unknown

- name: Run tests - yew-link
run: |
CHROMEDRIVER="$(which chromedriver)" cargo test -p yew-link --features hydration --target wasm32-unknown-unknown

unit_tests:
name: Unit Tests on ${{ matrix.toolchain }}
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions packages/yew-link/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ wasm-bindgen-futures = { workspace = true }
axum = { workspace = true, optional = true }
actix-web = { workspace = true, optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
gloo.workspace = true
wasm-bindgen.workspace = true
wasm-bindgen-test.workspace = true
web-sys.workspace = true
yew = { path = "../yew", features = ["csr"] }

[features]
default = []
ssr = ["yew/ssr"]
Expand Down
Loading
Loading