Skip to content
JS
Package

vitest-fail-on-console

Utility to make vitest tests fail when console.error() or console.warn() are used

v0.10.1, 4 Sept 2025MITESM onlyTypes: BundledTestingUtility libraries
$ npm install vitest-fail-on-console

Key numbers

As of 25 Sept 2026
Weekly downloads
327k
+122% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v0.10.1
GitHub stars
55
13 forks
Open issues / PRs
8 / 12
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 503.9k (25 Aug 2026)Low 67.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

326,969 downloads last week, 1,545,474 in the last month. The 12-month change of +122% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
025 in total
Latest version
0.10.1, 4 Sept 20251 year ago
First published
28 Dec 2022
Last push to GitHub
15 Nov 2025313 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
12
Commits, last 52 weeks
0
Dependents on npm
3

Major versions

  1. v0 first release 0.0.1, 28 Dec 2022

Recent releases

VersionPublished
0.10.14 Sept 2025
0.10.026 Aug 2025
0.9.07 Aug 2025
0.8.027 Jul 2025
0.7.12 Sept 2024
0.7.010 May 2024
0.6.318 Mar 2024
0.6.229 Feb 2024
0.6.129 Feb 2024
0.6.026 Feb 2024
0.5.118 Aug 2023
0.5.05 Aug 2023
0.4.222 Jul 2023
0.4.123 Jun 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
230 kB
Dependencies (1)
chalk
Peer dependencies (3)
vitevitest@vitest/utils
npm install vitest-fail-on-console
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vitest-fail-on-console@0.10.1/
  • unpkghttps://unpkg.com/vitest-fail-on-console@0.10.1/
  • esm.shhttps://esm.sh/vitest-fail-on-console@0.10.1
PackageWeekly downloadsGzipLast releaseModuleComparison
has-only23.2k-8 years agoCommonJS-
cypress-localstorage-commands150.1k-6 months agoCommonJS-
jest-util89.1m-23 days agoESM + CommonJS-
mutation-testing-metrics1.8m-1 month agoESM only-
mocked-env75.4k-5 years agoCommonJS-
its-name59.6k-9 years agoCommonJS-
deep-equal-ident90.5k-10 years agoCommonJS-
lodash-match-pattern46.1k-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.