Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock fetch in unit tests to not rely on external sources #38

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

smessie
Copy link
Collaborator

@smessie smessie commented Feb 4, 2025

The MRG LDES sometimes tends to be unreliable causing failing tests while they shouldn't.
Not relying on external sources, but mocking the fetch instead, also speeds up the tests themselves and removes the need for the custom higher timeout configuration.

@smessie smessie merged commit dc28546 into main Feb 17, 2025
1 check passed
@smessie smessie deleted the test/mock-fetch branch February 17, 2025 13:45
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