Skip to content
JS
Package category

Testing

Test runners, assertion libraries, mocking and end-to-end testing.

1,409 packages15 comparisons

Packages compared

1,409 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
cbrowser
Cognitive browser automation that thinks like your users—and helps AI agents navigate too. Simulate real user cognition with abandonment detection, constitutional safety, chaos engineering, and UX friction discovery. Sites that pass CBrowser's cognitive t
1k--7 days ago
19.1.5
ESM + CommonJSBundledScraping and browser automation, Testing
enzyme-async-helpers
Async helpers for testing React components with Enzyme.
1k-52%-8 years ago
0.9.1
CommonJSNoneTesting, React
@slimio/is
SlimIO is (JavaScript Primitives & Objects type checker)
1k---3 years ago
2.0.0
CommonJSBundledTesting
bats-mock
Mocking/stubbing library for BATS (Bash Automated Testing System)
988----
1.2.5
CommonJSNoneTesting
wct-mocha
Client-side library for testing web-components with Mocha.
804----
1.1.0
CommonJSNoneTesting
socket.io-mock-ts
Mocked version of Socket.IO for testing
768---6 months ago
1.0.3
ESM + CommonJSBundledTesting, WebSockets and realtime
vanillajs-scrollspy
ScrollSpy in pure JavaScript
480----
3.0.8
ESM + CommonJSNoneTesting
injectmock
Inject mock and restore original for javascript property. Useful for unit testing.
117----
2.0.0
CommonJSNoneTesting
keyboard-testing-library
An extension of Testing Library focused on simulating keyboard-only users' behaviors
31----
3.0.3
ESM + CommonJSBundledTesting, Accessibility

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • cbrowserCognitive browser automation that thinks like your users—and helps AI agents navigate too. Simulate real user cognition with abandonment detection, constitutional safety, chaos engineering, and UX friction discovery. Sites that pass CBrowser's cognitive t
  • enzyme-async-helpersAsync helpers for testing React components with Enzyme.
  • @slimio/isSlimIO is (JavaScript Primitives & Objects type checker)
  • bats-mockMocking/stubbing library for BATS (Bash Automated Testing System)
  • wct-mochaClient-side library for testing web-components with Mocha.
  • socket.io-mock-tsMocked version of Socket.IO for testing
  • vanillajs-scrollspyScrollSpy in pure JavaScript
  • injectmockInject mock and restore original for javascript property. Useful for unit testing.
  • keyboard-testing-libraryAn extension of Testing Library focused on simulating keyboard-only users' behaviors