googlemaps / googlemaps/js-jest-mocks

Vitest testing

Open
#294 4 comments 9 reactions 1 assignee Claimed by @amuramoto View on GitHub
priority: p3 type: feature request
Dominant language
TypeScript
Stars
42
Forks
33
Avg merge
1m
Merged PRs (30d)
3

Description

My team and I have used your `Jest Mocks` when we started doing unit tests with `Jest`. But we are switching over to use `Vite` and `Vitest` which has very similar apis. But we cannot use `jest` and `vitest` together.

**Describe the solution you'd like**
It would be nice to have a package like this targeting the `vitest` testing library (I think just changing over `jest.whatever` to `vi.whater` might be enough?)

**Describe alternatives you've considered**
I thought about forking this repo for Vitest, but didn't want to maintain such a thing.

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.