Skip to content

chore: add tests for new code in formbricks environment #16

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

Merged
merged 2 commits into from
May 15, 2025

Conversation

mattinannt
Copy link
Member

This pull request refactors the FormbricksEnvironment to improve robustness by replacing fatal errors with optional returns, updates the FormbricksViewModel to integrate these changes, and adds comprehensive unit tests for the new behavior. The most important changes are detailed below.

Refactoring FormbricksEnvironment

Updates to FormbricksViewModel

Unit Tests

Copy link

@mattinannt mattinannt merged commit 26861c3 into main May 15, 2025
3 checks passed
@mattinannt mattinannt deleted the chore/add-tests2 branch May 15, 2025 20:38
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