Mocked unit tests or Integration tests

When running tests in the frontend that involves a server side call, do you prefer to mock the server side call to do the unit tests or do you skip that and proceed with writing Integration/E2E tests?
1 Reply
Leonidas
Leonidas3y ago
End to end tests are better imo - tests should verify that all your gears are running smoothly together Also test suites with movk values deprecate quickly and become out of date / take a lot of time to refactor when code changes
Want results from more Discord servers?
Add your server