Skip to content

mock few functions#18

Merged
randrescastaneda merged 1 commit intoDEV_v2from
fix-tests
Aug 12, 2025
Merged

mock few functions#18
randrescastaneda merged 1 commit intoDEV_v2from
fix-tests

Conversation

@shahronak47
Copy link

@shahronak47 shahronak47 commented Aug 10, 2025

Hi Andres,

In tests for branch management we were querying actual GitHub API. However, querying actual API, or doing DB calls within test is not a good practice. They are flaky, requires authentication and are slow. So for few of the inconsistent calls I have removed the existing tests and replaced them with mocked tests which are much faster and consistent. All tests are now passing.

image

Let me know what you think.

@randrescastaneda randrescastaneda merged commit 3603018 into DEV_v2 Aug 12, 2025
1 check failed
@randrescastaneda randrescastaneda deleted the fix-tests branch August 12, 2025 13:43
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.

2 participants

Comments