Skip to content
JS
Package

@testing-library/preact

Simple and complete Preact DOM testing utilities that encourage good testing practices.

v3.2.4, 27 May 2024MITESM + CommonJSTypes: BundledTesting
$ npm install @testing-library/preact

Key numbers

As of 25 Sept 2026
Weekly downloads
252.3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v3.2.4
GitHub stars
158
41 forks
Open issues / PRs
9 / 3
Contributors
-
Commits, last 52 weeks
1

No weekly download data in the snapshot.

252,300 downloads last week, 1,067,320 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
3.2.4, 27 May 20242 years ago
First published
-
Last push to GitHub
5 Mar 2026203 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
3
Commits, last 52 weeks
1
Dependents on npm
5

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 12
Runtimes
-
Unpacked size (npm)
30 kB
Dependencies (1)
@testing-library/dom
Peer dependencies (1)
preact
npm install @testing-library/preact
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@testing-library/preact@3.2.4/
  • unpkghttps://unpkg.com/@testing-library/preact@3.2.4/
  • esm.shhttps://esm.sh/@testing-library/preact@3.2.4
PackageWeekly downloadsGzipLast releaseModuleComparison
@solidjs/testing-library153.3k-1 year agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.