@stdlib/assert-is-buffer
Test if a value is a Buffer object.
Found 2038 results for assertion
Test if a value is a Buffer object.
Test if a value is a function.
Test if a value is a plain object.
Test if a value is a Float64Array.
Test if a value is a regular expression string.
Test if a value is a Uint32Array.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Check if an environment is little endian.
Test if a value is an object.
Test if a value is a Float32Array.
Test if a value is a number.
Power Assert feature enhancer for assert function/object
The powerful, easy-to-use testing framework.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
ESLint rules for AVA
Assertion toolkit for Puppeteer.
Automated browser testing for the modern web development stack.
Power Assert in JavaScript
Power Assert output formatter
Power Assert feature enhancer for assert function/object
A tiny runtime library for type assertions
Chai plugin for JSON Schema v4
A port of Node v6's internal _deepEqual function in a universal style
Babel plugin for power-assert
Chai assertion that provides Jest's snapshot testing
Yet another JavaScript assertion/invariant library.
Power Assert instrumentor from source to source, with source-map
Power Assert feature instrumentor based on the ECMAScript AST
A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.
Power Assert feature instrumentor on the fly
Babel plugin for protecting against improper use of `t.throws()` in AVA
Convert assert to power-assert on ESTree AST
DOM assertions for the Chai assertion library using vanilla JavaScript
Shallow deep equal assertion for chai
Test if a finite double-precision floating-point number is an integer.
Test if a finite numeric value is an odd number.
Test if a double-precision floating-point numeric value is positive zero.
Test if a value is NaN.
Assertion library for form validations
Assert that the name of the current branch of a git repository has a particular value.
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Test if a finite numeric value is an even number.
Test if a value is a number having a nonnegative integer value.
Test if a value is an Int32Array.
Test if a value is a number having an integer value.
Assert utility from yeoman
Test if a double-precision floating-point numeric value is negative zero.
Test if a value is an Int16Array.
Test if a value is a collection.
Test if an object's own property is enumerable.
Assert a given object is a valid glob option
Test if a value is a Uint8ClampedArray.
Encourages programming with assertions by providing tools to compile them away
Extensible BDD assertion toolkit
Test if a value is an Int8Array.
Test if a value is an arguments object.
Babel plugin for protecting against improper use of `t.throws()` in AVA
Browserify transform for unassert: Encourages programming with assertions by providing tools to compile them away
Test if a value is a number having a positive integer value.
Test if a value is an Error object.
Color assertions for chai
assertion library
Minimal JavaScript type checking library
Standard assertion utilities.
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
provides snapshot testing like jest
Test if a value is an ArrayBuffer.
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Xml assertions for Chai
Plugin for validating API schemas from API documentation
Test if a value is a complex number-like object.
Test if a value is a number having a positive value.
Extends chai with assertions that allow for floating point rounding errors
Power Assert output renderers
Expect-like assertions that works seamlessly in node and browsers
Change assertions for the Chai assertion library
Test if a value is an array-like object.
Test if a value is a Complex64Array.
Type check values: `is.string('🦄') //=> true`
jQuery assertions for the Chai assertion library
Test if a value is array-like.
Test if a value is a typed array.
Test if a value is a complex typed array.
A chai assertion plugin for working with urls
Test if an array-like object supports the accessor (get/set) protocol.
Unexpected plugin for the messy library
Backbone assertions for the Chai assertion library
Test if a value is a Complex128Array.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Test if a finite double-precision floating-point number is a nonnegative integer.
Ergonomic, modern and type-safe assertion library
Test if a value is an array-like object of numbers.
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.
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for the [Sinonjs](http://sinonjs.org/) mocking library.
Test if a finite double-precision floating-point number is a negative integer.
A chai plugin to validate json files
[![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
Chai assertions for Node.js filesystem
Test if a value is a probability.
Assert on equality of json representations in Chai
Common assertions for Bats
Test if an array-like value contains a search value.
Adding .also chain in base library of chai-as-promised
Test if a finite double-precision floating-point number is a positive integer.
DOM plugin for the unexpected assertion libary
Test if a double-precision floating-point number is a probability.
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 a value is an array-like object containing only nonnegative integers.
Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)
Validation utilities
Test if a value is an array of strings.
Test if a value is a number having a nonnegative value.
HTML assertions for Chai.
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
Test if a value is Node writable stream-like.
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
Check if the runtime is Node.js.
Test if a value is Node stream-like.
Test if a value is an array of probabilities that sum to one.
Assert that a Node-API value is a specified Node-API data type.
Check if the runtime is a web browser.
Because expected true, result false is not enough!
Add support to Unexpected for testing Map instances
Test if a value is null.
Add support to Unexpected for testing Set instances
Test if a value is a DataView.
C utilities for asserting that a Node-API call returns an "ok" status.
Assert that two Node-API data types are equal.
Assert that a Node-API value is a Node-API typed array.
Assert that two Node-API typed array data types are equal.
An assertion library for cucumber.js providing cucumber compatible failures instead of exceptions
Determine if a buffer length is compatible with provided ndarray meta data.
Test if an object has a specified method name, either own or inherited.
Assert values using Joi schemas
Test if a value is ndarray-like.
Strong Dynamically Typed Object Modeling for JavaScript
Test if a value is an array-like object containing only integers.
the lightest yet the fastest javascript testing library
A Chai plugin providing assertions on the order of Sinon spy calls
complex type validators that generate TypeScript and Flow types for you
Test if a value is a URI.
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for [Knockout](http://knockoutjs.org).
Test if value is valid for fs.readFile option
A Cypress plugin to recursively search your intercepted requests/responses by key/value
node.js streams plugin for the Unexpected assertion library
Preconditions for safe coding
Simple utility to retry an erroring function until it succeeds
Extends Tape with new assertions
example.on('end', mustCall(() => {})); Check the callback function is called.
Array assertion helpers for the Chai assertion library
Test if a value is a semantic version string.
an assertion against a change to a value
Id equality assertions for chai
Test if a value is a string having an uppercase first character.
Comparison plugin for BDD assertion libraries (chai, should)
EventEmitter assertions for Unexpected
An alternate jQuery assertion library for Chai.
CSS Style assertions for elements, using Chai.js
JSX assertions for Jasmine
Make jest expect more convenient.
A small and simple library for asserting argument are the correct types
Test if a value is an empty array.
SlimIO is (JavaScript Primitives & Objects type checker)
Assert deeply nested values in Jest
Test if a value is iterator-like.
Jest-like snapshot feature for the rest of us + data-driven testing
Automated browser testing for the modern web development stack.
Ergonomic, modern and type-safe assertion library
Chai assertion library plugin to add `strictlyEqual` function and disable `equal`
Lightweight assertion testing framework
Image metadata plugin for the Unexpected assertion library
Run ava tests in the browser
Drop-in BDD helpers for AVA test runner 🌠
Test if a value is undefined or null.
A gulp plugin for power-assert
Test if a double-precision floating-point numeric value is finite.
Browserify transform for power-assert
JSX assertions for Chai
MagicPen plugin for the Unexpected assertion library
simple, flexible, fun test framework
Test if a single-precision floating-point numeric value is NaN.
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 value is a gzip buffer.
Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER
Boolean indicating if the current process is running on Windows.
Karma plugin for chai-equal-jsx
ESLint rules for tape
Extensible type-aware assertion library
A simple and lightweight TypeScript type guard library for runtime type validation.
A utility library that provides borrowing mechanisms via assertion functions
JSX React Element assertions for chai
is-any-type simple functionality alternative to check data type references such as typeof and instanceof
Async HTTP request wrapper
Supercool assertion library for Cypress
A composable matching/assertion/validation framework in Typescript that displays mismatches as diff trees
Assert (pretty) equality of Immutable.js iterables with unexpected
TypeScript assertion helpers
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
Command line tool for power-assert
Unexpected plugin for @dependable/state
a chai plugin for type assertions, support typescript
React assertions for the Chai assertion library
ESLint rules for tap
Assertion library written in TypeScript
Test if a value is a BooleanArray.
Runtime Verification Library for browsers and Node.js.
simple assertion module for checking function arguments
Mocha reporter that check the number of assertions
TypeScript predicates library
Test if a value is a BooleanArray.
Date comparison assertions for the Chai assertion library
jasmine-style 'expect' calls for mocha and other test frameworks
Powerful test inspection library
Helpers to easily write tests for React component/JSX code
Test if two double-precision floating-point numbers are the same value.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Test if two arguments are the same value.
Test if a value is a Date object.
Chai helper to include soft assertions on chai package
expect assertion on the runtime
Test if a single-precision floating-point numeric value is positive zero.
Test if a value is a BigInt.
Extend Chai with assertions for Javascript generators
Test if a value is an array-like object containing only functions.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Test if a value is an empty collection.
Test if a value is a 2-dimensional ndarray-like object.
power-assert transpiler with sourcemap support
power-assert transpiler core
Inspect requests intercepted by MSW
power-assert runtime
Test if a single-precision floating-point numeric value is negative zero.
Adds useful methods for using chai to validate function parameters
Test if a value is a parseable JSON string.
Test if a value is an array-like object containing only positive integers.
Assertion library for Node.js
power-assert rollup plugin
Use tape style assertions with Jest
Test if a value is an array of arrays.
A webpack loader for unassert: Encourages programming with assertions by providing tools to compile them away
This module is a node module that supports flow testing on the Node-RED editor UI. You can test the flow with multiple test-cases and without any changes when switching between test and production.
Extend should.js to assert arrays with approximate values
Test if an object has a specified method name.