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

fix: interpret only mode #6

Closed
wants to merge 1 commit into from
Closed

Conversation

patak-dev
Copy link
Member

It wasn't working when only was applied to a task. Seems to be working fine now (also corrected a typo)

@antfu
Copy link
Member

antfu commented Dec 5, 2021

I was thinking the .only on task should affect the scope of the current suite. Is this the behaviour of Jest or others? (I haven't use them before)

@patak-dev
Copy link
Member Author

You are right, looks like test.only is scoped to the file https://jestjs.io/docs/api#testonlyname-fn-timeout. Probably better to scope to the suite level in vitest. Closing this one.

@patak-dev patak-dev closed this Dec 5, 2021
@antfu antfu deleted the fix/interpret-only-mode branch December 8, 2021 23:47
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.

2 participants