{"full_name":"vitest-dev/vitest","owner":"vitest-dev","name":"vitest","shard":"1","url":"https://github.com/vitest-dev/vitest","description":"Next generation testing framework powered by Vite.","homepage":"https://vitest.dev","topics":["vite","test","testing-tools"],"tag_pages":["test","testing-tools","vite"],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/95747107?v=4","created_at":"2021-12-03T19:19:49Z","pushed_at":"2026-11-13T16:01:29Z","metrics":{"stars":17378,"forks":2186,"watchers":60,"issues":4559,"prs":5971,"releases":468,"issues_open":352,"issues_closed":4207,"prs_open":23,"prs_closed":1107,"prs_merged":4841,"discussions":1297},"growth":{"day":{"stars":2,"forks":29,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[17353,17364,17375,17377,17373,17376,17378],"forks":[2147,2150,2152,2152,2153,2157,2186],"watchers":[null,58,58,58,58,58,60],"issues_open":[null,343,345,345,344,346,352],"prs_open":[null,21,24,24,22,23,23]},"boards":{"daily_forks":174,"daily_watchers":170,"debut":55},"same_owner":[],"issues":[{"number":6553,"title":"Regression: v2.1.0 makes folder globbing impossible in `vitest.workspace.ts` (No loader is configured for \".gitignore\" files: .gitignore)","comments":25,"created_at":"2024-09-23T20:14:42Z"},{"number":4899,"title":"`@vitest/web-worker` error when using browser environment","comments":22,"created_at":"2024-01-08T08:20:39Z"},{"number":9751,"title":"Unify and simplify timeout configuration","comments":18,"created_at":"2026-02-26T15:01:44Z"},{"number":8411,"title":"MCP server for test results and coverage","comments":17,"created_at":"2025-08-08T09:05:06Z"},{"number":7247,"title":"Browser mode runs test twice in case of a self-importing svelte component","comments":15,"created_at":"2025-01-14T17:58:34Z"},{"number":4750,"title":"`expect.hasAssertions()` fails to mark the test as failed when using async function and callback","comments":15,"created_at":"2023-12-14T12:33:26Z"},{"number":7881,"title":"Basic reporter but with real time progress","comments":14,"created_at":"2025-04-24T09:21:04Z"},{"number":5477,"title":"Browser mode throws \"Failed to fetch dynamically imported module\" ","comments":14,"created_at":"2024-04-02T13:03:32Z"}],"discussions":[{"number":11966,"title":"Open-source verification stack for AI-assisted Vite & TypeScript apps (headless Playwright QA, 92-rule security scanner & 72-rule UI linter)","comments":0,"category":"Show and tell","created_at":"2026-11-14T19:41:06Z"},{"number":11849,"title":"why are chromium browsers so slow","comments":2,"category":"Q&A","created_at":"2026-11-03T13:47:33Z"},{"number":11628,"title":"CurlShot: testing a screenshot API with Vitest (unit suite + real-Chromium engine suite)","comments":0,"category":"Show and tell","created_at":"2026-10-17T19:21:10Z"},{"number":11579,"title":"Using `vitest complete --` for wrapper CLI completions","comments":3,"category":"Q&A","created_at":"2026-10-14T09:03:39Z"},{"number":11514,"title":"IOTA Watch: contract tests that distinguish missing mining data from zero","comments":0,"category":"Show and tell","created_at":"2026-10-06T13:27:38Z"},{"number":11481,"title":"fix(cache): don't cache tmp copies after write failure (fix #11452)","comments":0,"category":"Ideas","created_at":"2026-10-05T03:41:04Z"},{"number":11480,"title":"fix(reporter): avoid duplicate FAIL headers on retry (fix #11454)","comments":0,"category":"Ideas","created_at":"2026-10-05T03:40:57Z"},{"number":11465,"title":"fix(browser): avoid strict mode violation in failure screenshot with nested `<body>` (fix #11434)","comments":0,"category":"Ideas","created_at":"2026-10-04T04:32:56Z"}],"latest_release":{"name":"v5.1.0","tag":"v5.1.0","published_at":"2026-11-02T16:03:20Z","body":"### &nbsp;&nbsp;&nbsp;🚀 Features\n\n- Add `--last-failed` to run only failed tests &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11558 [<samp>(82f63)</samp>](https://github.com/vitest-dev/vitest/commit/82f634220)\n- Support `Temporal.Instant` and `Temporal.ZonedDateTime` in `vi.setSystemTime()` &nbsp;-&nbsp; by @Prajwal2246, **Prajwal2246**, **Claude Opus 5.5 (1M context)**, @hi-ogawa and **Codex (GPT-6)** in https://github.com/vitest-dev/vitest/issues/11321 [<samp>(f150f)</samp>](https://github.com/vitest-dev/vitest/commit/f150f5108)\n- Introduce `--since-last-run` flag &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11516 [<samp>(08bd9)</samp>](https://github.com/vitest-dev/vitest/commit/08bd93b7e)\n- Expose per-retry/repeat attempt result &nbsp;-&nbsp; by @hi-ogawa, **Codex (GPT-6)** and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11232 [<samp>(21be4)</samp>](https://github.com/vitest-dev/vitest/commit/21be412ed)\n- Support fake timers for `node:timers` and `node:timers/promise` &nbsp;-&nbsp; by @hi-ogawa, **OpenCode** and **Codex (GPT-6)** in https://github.com/vitest-dev/vitest/issues/10899 [<samp>(fbe97)</samp>](https://github.com/vitest-dev/vitest/commit/fbe973cae)\n- Allow coverage providers to store data in fs module cache &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/11747 [<samp>(54a2b)</samp>](https://github.com/vitest-dev/vitest/commit/54a2bdb81)\n- Interactively review failed snapshots &nbsp;-&nbsp; by @macarie and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/11325 [<samp>(54e5b)</samp>](https://github.com/vitest-dev/vitest/commit/54e5b8a8a)\n- **browser**:\n  - Mock modules through an import map &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11534 [<samp>(707f8)</samp>](https://github.com/vitest-dev/vitest/commit/707f8adf4)\n  - Drop experimental label from trace view &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11518 [<samp>(44c3c)</samp>](https://github.com/vitest-dev/vitest/commit/44c3c2fcf)\n  - Introduce experimental `pointer` API &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/10780 [<samp>(5dc09)</samp>](https://github.com/vitest-dev/vitest/commit/5dc09f0ea)\n  - Capture aria snapshot in trace view &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11492 [<samp>(0cc39)</samp>](https://github.com/vitest-dev/vitest/commit/0cc39fb90)\n  - Show trace steps timeline on terminal on test failure &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11594 [<samp>(973dc)</samp>](https://github.com/vitest-dev/vitest/commit/973dc84be)\n  - Add failure-only trace view mode &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11612 [<samp>(d5d7d)</samp>](https://github.com/vitest-dev/vitest/commit/d5d7d2f06)\n  - Enable failure-only trace view by default &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11766 [<samp>(f37b6)</samp>](https://github.com/vitest-dev/vitest/commit/f37b6b707)\n- **coverage**:\n  - V8 to support `ignoreNode` option &nbsp;-&nbsp; by @erickserra and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/11688 [<samp>(e02db)</samp>](https://github.com/vitest-dev/vitest/commit/e02db0869)\n- **experimental**:\n  - Add trace timeline for node &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11753 [<samp>(4e985)</samp>](https://github.com/vitest-dev/vitest/commit/4e9855151)\n  - Add message option to vi.waitFor and vi.waitUntil &nbsp;-&nbsp; by @hi-ogawa and **Claude Opus 5.5 (1M context)** in https://github.com/vitest-dev/vitest/issues/11754 [<samp>(fd145)</samp>](http","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}