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: updates for vi.mock in the API section #1021

Merged
merged 4 commits into from
Mar 25, 2022
Merged

docs: updates for vi.mock in the API section #1021

merged 4 commits into from
Mar 25, 2022

Conversation

calebwaldner
Copy link
Contributor

Adds more details and an example on how to use a factory function for mocked modules; specifically modules with a default export.

@netlify
Copy link

netlify bot commented Mar 24, 2022

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit d3bd7c0
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/623ca1ed2d4d490009b0e457
😎 Deploy Preview https://deploy-preview-1021--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@antfu antfu changed the title Documentation update for vi.mock in the API section docs: updates for vi.mock in the API section Mar 24, 2022
@antfu antfu requested a review from sheremet-va March 24, 2022 16:03
docs/api/index.md Outdated Show resolved Hide resolved
docs/api/index.md Outdated Show resolved Hide resolved
calebwaldner and others added 2 commits March 24, 2022 11:52
Co-authored-by: Anjorin Damilare <[email protected]>
@antfu antfu merged commit ec40047 into vitest-dev:main Mar 25, 2022
@calebwaldner calebwaldner deleted the docs-update-api-mocks branch March 25, 2022 11:36
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

4 participants