From 75b8e759c1128a8da6df977d50acf33d2c46d033 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Sat, 28 Mar 2026 09:05:07 +0100 Subject: [PATCH] chore: remove tinyspy from docs (#9990) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ari Perkkiƶ --- .vitepress/components/FeaturesList.vue | 2 +- .vitepress/config.ts | 2 +- guide/features.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vitepress/components/FeaturesList.vue b/.vitepress/components/FeaturesList.vue index 5fa2f5c7..9ab874de 100644 --- a/.vitepress/components/FeaturesList.vue +++ b/.vitepress/components/FeaturesList.vue @@ -22,7 +22,7 @@ import ListItem from './ListItem.vue' Chai built-in for assertions + Jest expect compatible APIs - Tinyspy built-in for mocking + Jest-compatible mocking happy-dom or jsdom for DOM mocking Browser Mode for running component tests in the browser Code coverage via v8 or istanbul diff --git a/.vitepress/config.ts b/.vitepress/config.ts index a1f34635..d57f189d 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -52,7 +52,7 @@ export default ({ mode }: { mode: string }) => { ['link', { rel: 'icon', href: '/favicon.ico', sizes: '48x48' }], ['link', { rel: 'icon', href: '/logo-without-border.svg', type: 'image/svg+xml' }], ['meta', { name: 'author', content: `${teamMembers.map(c => c.name).join(', ')} and ${vitestName} contributors` }], - ['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' }], + ['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' }], ['meta', { property: 'og:title', content: vitestName }], ['meta', { property: 'og:description', content: vitestDescription }], ['meta', { property: 'og:url', content: ogUrl }], diff --git a/guide/features.md b/guide/features.md index 9b4cbdd6..f29cdf6d 100644 --- a/guide/features.md +++ b/guide/features.md @@ -106,7 +106,7 @@ Notice that if you are using third-party libraries that add matchers, setting [` ## Mocking -[Tinyspy](https://github.com/tinylibs/tinyspy) is built-in for mocking with `jest`-compatible APIs on `vi` object. +Vitest provides `jest`-compatible APIs on `vi` object. ```ts import { expect, vi } from 'vitest'