Expand unit tests for network helpers #2

Merged
ilia merged 1 commits from test/network-helpers into main 2026-07-14 19:59:37 -05:00
Owner

Summary

  • More vitest coverage for interceptNetworkCall and NetworkErrorMonitor
  • Export globToRegExp / responseMatchesFilter so URL matching is unit-testable

Test plan

  • npm test — 29 passing locally
  • CI green, then merge
## Summary - More vitest coverage for `interceptNetworkCall` and `NetworkErrorMonitor` - Export `globToRegExp` / `responseMatchesFilter` so URL matching is unit-testable ## Test plan - [x] `npm test` — 29 passing locally - [ ] CI green, then merge
ilia added 1 commit 2026-07-14 19:58:40 -05:00
Expand unit tests for network intercept and error monitor
All checks were successful
CI / release (pull_request) Has been skipped
CI / skip-ci-check (pull_request) Successful in 4s
CI / secret-scan (pull_request) Successful in 3s
CI / build-and-test (pull_request) Successful in 16s
9eeea87c16
Cover NetworkErrorMonitor (record/dedupe/exclude/minStatus/assert/stop)
and interceptNetworkCall (spy, fulfill, custom handler, method continue,
non-JSON bodies). Export globToRegExp + responseMatchesFilter for
direct matcher coverage.
ilia merged commit 2674f58643 into main 2026-07-14 19:59:37 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ilia/playkit#2
No description provided.