@circi/vitest has 77 recorded weekly downloads on npm, a change of -87.5% over the past 7 days, ranking #2677 of 3,247 tracked listings.
About @circi/vitest
@circi/vitest
The CirCI plugin for Vitest browser mode. Your tests keep Vitest's own toMatchScreenshot; the plugin writes each screenshot to .circi/screenshots/vitest/<test file>/<name>.png and uploads them to your CirCI server when the run ends. CirCI compares and reviews them.
import { circi } from '@circi/vitest'
import { playwright } from '@vitest/browser-playwright'
import { defineConfig } from 'vitest/config'
export default defineConfig({
plugins: [circi({ name: 'vitest-chromium' })],
test: {
browser: { enabled: true, provider: playwright(), instances: [{ browser: 'chromium' }] },
},
})
await expect.element(page.getByRole('button')).toMatchScreenshot('button/primary')
By default (local: false) nothing is compared or stored locally and a test never fails on pixels. With local: true, Vitest's normal comparison also runs and the screenshots are uploaded as well.
To host Vitest's HTML report next to the screenshots, so reviewers can open the run's results, set site:
circi({ name: 'vitest-chromium', site: true })
The plugin adds Vitest's html reporter itself when @vitest/ui is installed (otherwise add reporters: ['default', 'html']). The report, the folder the html reporter writes (.vitest, or its outputDir), is uploaded after the screenshots, as a site named vitest-report (site: { name } renames it), and only when the screenshots were, from the first shard of a sharded run. site: { dir: 'report' } hosts a folder of your own instead. If the report isn't there, one line says so and the run is unaffected; a failed site upload only fails the run with strict.
circiScreenshot was removed in 0.3.0; see the migration guide.
Tested with Vitest 5.1 (Chromium through Playwright); needs Node 22 or later.
Licensed under the MIT License, so you can add it to any project. The CirCI server it talks to is GPL-3.0-only.
Description from the npm listing.
- browser-testing
- screenshot-testing
- screenshots
- self-hosted
- toMatchScreenshot
- visual-regression
- visual-regression-testing
- visual-testing
- vitest
- vitest-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (135)Similar npm Testing plugins
All 20 @circi/vitest alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@circi/vitest. First seen Nov 17, 2026; last successful collection Dec 6, 2026. See the methodology.