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

test: improve dx for tests #8112

Merged
merged 10 commits into from
May 11, 2022
Merged

test: improve dx for tests #8112

merged 10 commits into from
May 11, 2022

Conversation

antfu
Copy link
Member

@antfu antfu commented May 11, 2022

Changes

  • Provided ~utils alias for test utils
  • Instead of polluting the global object, now the context should be explicitly imported from ~utils`. This also make future extension easier

patak-dev
patak-dev previously approved these changes May 11, 2022
scripts/vitestSetup.ts Outdated Show resolved Hide resolved
@antfu antfu disabled auto-merge May 11, 2022 09:03
@antfu antfu merged commit d287482 into main May 11, 2022
@antfu antfu deleted the test/improve-tests branch May 11, 2022 09:03
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.

3 participants