Skip to content

fix(tests): update mocks for resolveBvid and Windows platform guards#749

Merged
jackwener merged 1 commit intomainfrom
fix/ci-test-mocks
Apr 3, 2026
Merged

fix(tests): update mocks for resolveBvid and Windows platform guards#749
jackwener merged 1 commit intomainfrom
fix/ci-test-mocks

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

Test plan

  • CI passes on all platforms

- bilibili subtitle/comments tests: use importOriginal to include
  resolveBvid in utils mock
- comments test: use valid BV ID format for aid-resolution error test
- launcher test: skip pgrep test on win32 (detectProcess early-returns)
@jackwener jackwener merged commit 7aafd4a into main Apr 3, 2026
11 checks passed
@jackwener jackwener deleted the fix/ci-test-mocks branch April 3, 2026 17:50
just-buer pushed a commit to just-buer/opencli that referenced this pull request Apr 8, 2026
…ackwener#749)

- bilibili subtitle/comments tests: use importOriginal to include
  resolveBvid in utils mock
- comments test: use valid BV ID format for aid-resolution error test
- launcher test: skip pgrep test on win32 (detectProcess early-returns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant