Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Returns true if a value is a plain object, array or function.
Regular expression for matching a shebang line
Match balanced character pairs, like "{" and "}"
Returns true if a string has an extglob.
Check if a value is a plain object
Delightful JavaScript Testing.
test for inclusion or exclusion of paths using globs
A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.
Generate a regex from a string or array of strings.
A response-like object for mocking a Node.js HTTP response stream
Highly configurable, well-tested, JavaScript-based HTML minifier.
Simple and complete DOM testing utilities that encourage good testing practices.
unist utility to check if a node passes a test
Miller Rabin algorithm for primality test
Test whether an object looks like a promises-a+ promise
string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.
Simple and complete React DOM testing utilities that encourage good testing practices.
TypeScript definitions for @testing-library/jest-dom
Custom jest matchers to test the state of the DOM
Fire events the same way the user does