DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Testing Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Testing
How does Mock Service Worker (MSW) intercept network requests compared to standard library mocks?
A
MSW intercepts requests at the network level (browser Service Workers or Node HTTP streams), keeping client code untouched
B
MSW overwrites the global fetch variable with a mock client
C
MSW connects directly to database servers and modifies schemas
D
MSW compiles API calls into static variables
Check Answer