Skip to content
JS
Package

@testing-library/svelte

Simple and complete Svelte testing utilities that encourage good testing practices.

v5.4.2, 23 Jun 2026MITESM onlyTypes: BundledTestingSvelte
$ npm install @testing-library/svelte

Key numbers

As of 25 Sept 2026
Weekly downloads
613k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 months ago
v5.4.2
GitHub stars
667
32 forks
Open issues / PRs
0 / 3
Contributors
-
Commits, last 52 weeks
36

No weekly download data in the snapshot.

612,962 downloads last week, 3,341,285 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
752 in total
Latest version
5.4.2, 23 Jun 20263 months ago
First published
1 Jun 2019
Last push to GitHub
7 Sept 202617 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
3
Commits, last 52 weeks
36
Dependents on npm
11

Major versions

  1. v5 first release 5.0.0, 18 Apr 2024
  2. v4 first release 4.0.0, 24 Jun 2023
  3. v3 first release 3.0.0, 13 Mar 2020
  4. v1 first release 1.7.0, 1 Jun 2019
  5. v2 first release 2.0.0, 1 Jun 2019

Recent releases

VersionPublished
5.4.223 Jun 2026
5.4.121 Jun 2026
5.4.020 Jun 2026
5.3.125 Dec 2025
5.3.023 Dec 2025
5.2.1020 Dec 2025
5.2.912 Nov 2025
5.2.819 May 2025
5.2.711 Feb 2025
5.2.619 Nov 2024
5.2.518 Nov 2024
5.2.418 Oct 2024
5.2.32 Oct 2024
5.2.21 Oct 2024
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 10
Runtimes
-
Unpacked size (npm)
38 kB
Dependencies (2)
@testing-library/dom@testing-library/svelte-core
Peer dependencies (3)
vitesveltevitest
npm install @testing-library/svelte
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@testing-library/svelte@5.4.2/
  • unpkghttps://unpkg.com/@testing-library/svelte@5.4.2/
  • esm.shhttps://esm.sh/@testing-library/svelte@5.4.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@solidjs/testing-library153.3k-1 year agoESM + CommonJS-
svelte-jester40.2k-2 years agoESM only-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.