Skip to content

Use a Service Worker for Network Mocking #625

Description

@Aditya8369

Description: The tests for routePlanner mock fetch at a global level, which can be brittle and interfere with other tests in the suite.
Proposed Enhancement: Use a more robust mocking library like msw (Mock Service Worker) to intercept network requests at the service worker level. This provides a cleaner, more realistic, and isolated testing environment.

Metadata

Metadata

Labels

ECSoC26Contributions considered under ECSoC'26

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions