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

Improvements to fail fast #125

Open
1 task
kennsippell opened this issue Jun 28, 2021 · 0 comments
Open
1 task

Improvements to fail fast #125

kennsippell opened this issue Jun 28, 2021 · 0 comments

Comments

@kennsippell
Copy link
Member

There are a class of "setup and mocking" errors which currently throw when performing actions like getContactSummary or getTasks etc. Mocking "setup and mocking" errors should be caught as early as possible and the framework should "fail fast".

This likely is a breaking change requiring more validation in setters and the constructor

Examples

  • harness.user = {} should throw because the user contact doc must have an _id
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

No branches or pull requests

1 participant