vitest icon indicating copy to clipboard operation
vitest copied to clipboard

docs: add example of using Vitest with Gatsby

Open apatel369 opened this issue 2 years ago • 1 comments

Gatsby is a popular react.js framework. This example will be helpful for integrating vitest with it.

apatel369 avatar Jul 21 '22 02:07 apatel369

For a more complete example one could also show how to mock out data pieces from Gatsby, e.g. useStaticQuery as shown here:

https://github.com/LekoArts/portfolio-v2/blob/cfee562ca51f2927b85aeb6096f614d0d0491bd2/www/src/components/tests/seo.tsx

LekoArts avatar Jul 21 '22 06:07 LekoArts

This looks abandoned. Do you plan on updating this PR?

sheremet-va avatar Feb 13 '23 14:02 sheremet-va

I had build issues with this branch and never had the chance to fix them. I am abandoning this PR.

apatel369 avatar Feb 14 '23 10:02 apatel369