Skip to content
Merged
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
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,16 @@ jobs:
# 前置 dist 与 stub companion binary 已由上方步骤就位。
- name: Desktop app tests
run: cargo test -p wb-switch-rust

# 前端行为测试:纯逻辑单测(node 环境),不依赖 Rust 工具链。
frontend-tests:
name: frontend-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm test
275 changes: 268 additions & 7 deletions package-lock.json

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

Loading
Loading