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

Add setting to enforce description on assertions #8

Open
isglass opened this issue Apr 7, 2021 · 1 comment
Open

Add setting to enforce description on assertions #8

isglass opened this issue Apr 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@isglass
Copy link

isglass commented Apr 7, 2021

To avoid these scenarios:

Screenshot 2021-04-07 at 08 16 43

@matsbryntse matsbryntse added the enhancement New feature or request label Apr 7, 2021
@canonic-epicure
Copy link
Collaborator

We can have it, why not, however, for the expectation style assertions description is not available: t.expect(something).toEqual(expected)

The new source context feature should solve it:
image

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

3 participants