[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

chore: remove tinyspy from docs (#9990)

Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>

authored by

Vladimir
Ari Perkkiö
and committed by
GitHub
(Mar 28, 2026, 9:05 AM +0100) a4523a04 8c3a1db8

+4 -4
+1 -1
README.md
··· 46 46 - [Chai](https://www.chaijs.com/) built-in for assertions, with [Jest expect](https://jestjs.io/docs/expect) compatible APIs 47 47 - [Smart & instant watch mode](https://vitest.dev/guide/features.html#watch-mode), like HMR for tests! 48 48 - [Native code coverage](https://vitest.dev/guide/features.html#coverage) via [`v8`](https://v8.dev/blog/javascript-code-coverage) or [`istanbul`](https://istanbul.js.org/). 49 - - [Tinyspy](https://github.com/tinylibs/tinyspy) built-in for mocking, stubbing, and spies. 49 + - Jest-compatible mocking, stubbing, and spies. 50 50 - [JSDOM](https://github.com/jsdom/jsdom) and [happy-dom](https://github.com/capricorn86/happy-dom) for DOM and browser API mocking 51 51 - [Browser Mode](https://vitest.dev/guide/browser/) for running component tests in the browser 52 52 - Components testing ([Vue](https://github.com/vitest-tests/browser-examples/tree/main/examples/vue), [React](https://github.com/vitest-tests/browser-examples/tree/main/examples/react), [Svelte](https://github.com/vitest-tests/browser-examples/tree/main/examples/svelte), [Lit](./examples/lit), [Marko](https://github.com/marko-js/examples/tree/master/examples/library-ts))
+1 -1
docs/.vitepress/components/FeaturesList.vue
··· 22 22 </a> 23 23 </ListItem> 24 24 <ListItem><a target="_blank" href="https://www.chaijs.com/" rel="noopener noreferrer">Chai</a> built-in for assertions + <a target="_blank" href="https://jestjs.io/docs/expect" rel="noopener noreferrer">Jest expect</a> compatible APIs</ListItem> 25 - <ListItem><a target="_blank" href="https://github.com/tinylibs/tinyspy" rel="noopener noreferrer">Tinyspy</a> built-in for mocking</ListItem> 25 + <ListItem>Jest-compatible mocking</ListItem> 26 26 <ListItem><a target="_blank" href="https://github.com/capricorn86/happy-dom" rel="noopener noreferrer">happy-dom</a> or <a target="_blank" href="https://github.com/jsdom/jsdom" rel="noopener noreferrer">jsdom</a> for DOM mocking</ListItem> 27 27 <ListItem><a href="https://vitest.dev/guide/browser/" rel="noopener noreferrer">Browser Mode</a> for running component tests in the browser</ListItem> 28 28 <ListItem>Code coverage via <a target="_blank" href="https://v8.dev/blog/javascript-code-coverage" rel="noopener noreferrer">v8</a> or <a target="_blank" href="https://istanbul.js.org/" rel="noopener noreferrer">istanbul</a></ListItem>
+1 -1
docs/.vitepress/config.ts
··· 52 52 ['link', { rel: 'icon', href: '/favicon.ico', sizes: '48x48' }], 53 53 ['link', { rel: 'icon', href: '/logo-without-border.svg', type: 'image/svg+xml' }], 54 54 ['meta', { name: 'author', content: `${teamMembers.map(c => c.name).join(', ')} and ${vitestName} contributors` }], 55 - ['meta', { name: 'keywords', content: 'vitest, vite, test, coverage, snapshot, react, vue, preact, svelte, solid, lit, marko, ruby, cypress, puppeteer, jsdom, happy-dom, test-runner, jest, typescript, esm, tinyspy, node' }], 55 + ['meta', { name: 'keywords', content: 'vitest, vite, test, coverage, snapshot, react, vue, preact, svelte, solid, lit, marko, ruby, cypress, puppeteer, jsdom, happy-dom, test-runner, jest, typescript, esm, node' }], 56 56 ['meta', { property: 'og:title', content: vitestName }], 57 57 ['meta', { property: 'og:description', content: vitestDescription }], 58 58 ['meta', { property: 'og:url', content: ogUrl }],
+1 -1
docs/guide/features.md
··· 106 106 107 107 ## Mocking 108 108 109 - [Tinyspy](https://github.com/tinylibs/tinyspy) is built-in for mocking with `jest`-compatible APIs on `vi` object. 109 + Vitest provides `jest`-compatible APIs on `vi` object. 110 110 111 111 ```ts 112 112 import { expect, vi } from 'vitest'