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

Only highlight {it,describe}.only, not its arguments #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sgerke-1L
Copy link

Changes the location in the error reporting to only highlight the describe.only / it.only object and function name, but not their arguments.

Behavior before:

  • When developing a test and focusing it with it.only, the whole test code is underlined in red, making it difficult to get type check and linting information for the code under development.

Behavior after:

  • When developing a test and focusing it with it.only, only the first part of the test (it.only) is underlined in red, making it easy to get type check and linting information for the code under development.

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