chai-array
Array assertion helpers for the Chai assertion library
Found 2038 results for assertion helpers
Array assertion helpers for the Chai assertion library
TypeScript assertion helpers
Helpers to easily write tests for React component/JSX code
Drop-in BDD helpers for AVA test runner 🌠
TypeScript assertion helpers
(NPM Package) Collection of various small helpers for javascript and typescript based projects, all tested and documented.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Error constructor for test and validation frameworks that implements standardized AssertionError specification.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Type check values
simple, flexible, fun test framework
Lazy assertions without performance penalty
TypeScript implementation of invariant(condition, message)
Assert utility from yeoman
A tiny javascript type testing tool
Function argument validation for humans
Node.js test runner that lets you develop with confidence.
Test if an object has a specified property.
Test if a value is object-like.
Test if a double-precision floating-point numeric value is infinite.
Check two valid geojson geometries for equality.
Check if an environment is big endian.
Test if a value is a regular expression string.
Check two valid geojson geometries for equality.
Test if a value is a Buffer object.
Test if a value is a plain object.
Test if a value is a string.
Test if a value is a boolean.
Test if a value is a function.
Test if a value is a regular expression.
Test if a value is a Float64Array.
Test if a double-precision floating-point numeric value is NaN.
Test if a value is a Uint32Array.
Test if a value is an object.
Test if a value is a Float32Array.
Test if a value is a number.
Test if a value is an array.
A chai assertion plugin for working with urls
The powerful, easy-to-use testing framework.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Check if an environment is little endian.
Assertion toolkit for Puppeteer.
Power Assert feature enhancer for assert function/object
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Automated browser testing for the modern web development stack.
ESLint rules for AVA
Power Assert output formatter
Power Assert in JavaScript
Power Assert feature enhancer for assert function/object
A tiny runtime library for type assertions
A port of Node v6's internal _deepEqual function in a universal style
Chai plugin for JSON Schema v4
Power Assert instrumentor from source to source, with source-map
Power Assert feature instrumentor based on the ECMAScript AST
Babel plugin for power-assert
Power Assert feature instrumentor on the fly
Chai assertion that provides Jest's snapshot testing
Yet another JavaScript assertion/invariant library.
A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.
Babel plugin for protecting against improper use of `t.throws()` in AVA
DOM assertions for the Chai assertion library using vanilla JavaScript
Shallow deep equal assertion for chai
Convert assert to power-assert on ESTree AST
Test if a finite numeric value is an odd number.
Test if a finite double-precision floating-point number is an integer.
Assert that the name of the current branch of a git repository has a particular value.
Test if a value is NaN.
Assertion library for form validations
Test if a double-precision floating-point numeric value is positive zero.
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Test if a value is an Int32Array.
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
Test if a value is a number having a nonnegative integer value.
Encourages programming with assertions by providing tools to compile them away
Test if a value is a number having an integer value.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Test if a value is a collection.
Test if a double-precision floating-point numeric value is negative zero.
Test if a finite numeric value is an even number.
Test if a value is an Int8Array.
Extensible BDD assertion toolkit
Test if a value is an arguments object.
assertion library
Test if an object's own property is enumerable.
Color assertions for chai
Babel plugin for protecting against improper use of `t.throws()` in AVA
Assert a given object is a valid glob option
provides snapshot testing like jest
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Browserify transform for unassert: Encourages programming with assertions by providing tools to compile them away
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Plugin for validating API schemas from API documentation
Test if a value is an Error object.
Standard assertion utilities.
Test if a value is a number having a positive integer value.
Test if a value is an ArrayBuffer.
Test if a value is a complex number-like object.
Minimal JavaScript type checking library
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Extends chai with assertions that allow for floating point rounding errors
Test if a value is a Complex64Array.
Test if a value is an array-like object.
Type check values: `is.string('🦄') //=> true`
Test if a value is a number having a positive value.
Power Assert output renderers
Xml assertions for Chai
Change assertions for the Chai assertion library
Test if a value is a typed array.
Test if a value is a complex typed array.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Test if an array-like object supports the accessor (get/set) protocol.
Test if a value is array-like.
Backbone assertions for the Chai assertion library
jQuery assertions for the Chai assertion library
Test if a value is a Complex128Array.
Expect-like assertions that works seamlessly in node and browsers
Test if a value is an array-like object of numbers.
Test if a finite double-precision floating-point number is a nonnegative integer.
Ergonomic, modern and type-safe assertion library
Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff.
Test if a value is typed-array-like.
Unexpected plugin for the messy library
 
Test if a finite double-precision floating-point number is a negative integer.
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for the [Sinonjs](http://sinonjs.org/) mocking library.
Common assertions for Bats
Test if a value is a probability.
A chai plugin to validate json files
Chai assertions for Node.js filesystem
DOM plugin for the unexpected assertion libary
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Assert on equality of json representations in Chai
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Adding .also chain in base library of chai-as-promised
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)
Simple, intuitive and flexible unit testing framework for javascript / Node.js (browser and server). Integrates awesome assertions libraries like Must.js, Should.js, Assert of Node.js, Sinon.js and other friendly features (promise, IoC, plugins, ...).
Test if an array-like value contains a search value.
Test if a value is an array-like object containing only nonnegative integers.
Test if a finite double-precision floating-point number is a positive integer.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
HTML assertions for Chai.
Test if a double-precision floating-point number is a probability.
Validation utilities
Test if a value is a number having a nonnegative value.
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
Test if a value is an array of strings.
Check if the runtime is a web browser.
Test if a value is Node writable stream-like.
Assert that a Node-API value is a specified Node-API data type.
Test if a value is an array of probabilities that sum to one.
Test if a value is a DataView.
Check if the runtime is Node.js.
Test if a value is null.
Because expected true, result false is not enough!
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Add support to Unexpected for testing Map instances
Add support to Unexpected for testing Set instances
Assert that a Node-API value is a Node-API typed array.
Assert that two Node-API typed array data types are equal.
Test if a value is Node stream-like.
C utilities for asserting that a Node-API call returns an "ok" status.
Assert that two Node-API data types are equal.
Determine if a buffer length is compatible with provided ndarray meta data.
Test if a value is ndarray-like.
An assertion library for cucumber.js providing cucumber compatible failures instead of exceptions
Strong Dynamically Typed Object Modeling for JavaScript
Assert values using Joi schemas
Test if an object has a specified method name, either own or inherited.
Test if a value is an array-like object containing only integers.
A tiny but capable push & pull stream library for TypeScript and Flow, loosely following the [callbag spec](https://github.com/callbag/callbag)
A tiny but capable push & pull stream library for TypeScript and Flow, loosely following the [callbag spec](https://github.com/callbag/callbag)
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Test if value is valid for fs.readFile option
A tiny but capable push & pull stream library for TypeScript and Flow, loosely following the [callbag spec](https://github.com/callbag/callbag)
Test if a value is a URI.
complex type validators that generate TypeScript and Flow types for you
A Cypress plugin to recursively search your intercepted requests/responses by key/value
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for [Knockout](http://knockoutjs.org).
the lightest yet the fastest javascript testing library
node.js streams plugin for the Unexpected assertion library
A tiny but capable push & pull stream library for TypeScript and Flow, loosely following the [callbag spec](https://github.com/callbag/callbag)
Preconditions for safe coding
Extends Tape with new assertions
Express Handlebars ==================
Test if a value is a semantic version string.
an assertion against a change to a value
Simple utility to retry an erroring function until it succeeds
Powerful test inspection library
EventEmitter assertions for Unexpected
Comparison plugin for BDD assertion libraries (chai, should)
Test if a value is a string having an uppercase first character.
An alternate jQuery assertion library for Chai.
JSX assertions for Jasmine
A Chai plugin providing assertions on the order of Sinon spy calls
Id equality assertions for chai
SlimIO is (JavaScript Primitives & Objects type checker)
A small and simple library for asserting argument are the correct types
Make jest expect more convenient.
example.on('end', mustCall(() => {})); Check the callback function is called.
Test if a value is an empty array.
Test if a value is iterator-like.
Assert deeply nested values in Jest
Jest-like snapshot feature for the rest of us + data-driven testing
Ergonomic, modern and type-safe assertion library
Small footprint library that helps with typescript assertions.
Automated browser testing for the modern web development stack.
A gulp plugin for power-assert
CSS Style assertions for elements, using Chai.js
Lightweight assertion testing framework
Chai assertion library plugin to add `strictlyEqual` function and disable `equal`
[](https://developer.twitter.com/en/docs/twitter-api/early-access) [
JSX assertions for Chai
Image metadata plugin for the Unexpected assertion library
Test if a value is undefined or null.
Test if a double-precision floating-point numeric value is finite.
Run ava tests in the browser
Browserify transform for power-assert
Plop ======
Unit Testing for the PlugJS Build System ========================================
Cheerio assertions for the Chai assertion library
A jest assertion that checks calls for count, order and informed parameters, all at once
Test if a single-precision floating-point numeric value is NaN.
Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER
Karma plugin for chai-equal-jsx
A utility library that provides borrowing mechanisms via assertion functions
ESLint rules for tape
Boolean indicating if the current process is running on Windows.
Test if a value is a gzip buffer.
JSX React Element assertions for chai
Async HTTP request wrapper
A composable matching/assertion/validation framework in Typescript that displays mismatches as diff trees
A simple and lightweight TypeScript type guard library for runtime type validation.
Supercool assertion library for Cypress
Test if an object has a specified property, either own or inherited.
Assert that specific environment variables exist.
Tools for snapshotting, replaying, and mocking HTTP queries with Jest
is-any-type simple functionality alternative to check data type references such as typeof and instanceof
a chai plugin for type assertions, support typescript
Command line tool for power-assert
React assertions for the Chai assertion library
simple, flexible, fun test framework
ESLint rules for tap
Extensible type-aware assertion library
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]