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

docs: add vitest #182

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

docs: add vitest #182

wants to merge 1 commit into from

Conversation

Atinux
Copy link
Member

@Atinux Atinux commented Apr 26, 2023

Actually not 100% sure since I cannot mock right, happy to get help on this too

@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Merging #182 (a45d8e9) into main (c0ea536) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #182   +/-   ##
=======================================
  Coverage   62.35%   62.35%           
=======================================
  Files           9        9           
  Lines         781      781           
  Branches       56       56           
=======================================
  Hits          487      487           
  Misses        294      294           

@pi0
Copy link
Member

pi0 commented Apr 26, 2023

Nice. I will check it soon locally. FYI this is implementation for @nuxt/test-utils mock with vitest support:

https://github.com/nuxt/nuxt/blob/main/packages/test-utils/src/mock.ts

https://github.com/nuxt/nuxt/blob/main/packages/test-utils/src/setup/vitest.ts#L6

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.

None yet

2 participants