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

feature: provide custom matchers to make tests easier #5

Open
cexbrayat opened this issue Jun 1, 2018 · 0 comments
Open

feature: provide custom matchers to make tests easier #5

cexbrayat opened this issue Jun 1, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@cexbrayat
Copy link
Member

We could provide custom Jasmine matchers (I know :) ) to simplify writing unit tests for forms.

expect(form).toDisplayError('required');
expect(form).toDisplayError('max', 'custom max error message');
@cexbrayat cexbrayat added the enhancement New feature or request label Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant