JSPM

Found 2038 results for assertion

empower

Power Assert feature enhancer for assert function/object

  • v1.3.1
  • 55.85
  • Published

@mapbox/fusspot

A tiny runtime library for type assertions

  • v0.8.1
  • 55.69
  • Published

chai-jest-snapshot

Chai assertion that provides Jest's snapshot testing

  • v2.0.0
  • 54.34
  • Published

yaassertion

Yet another JavaScript assertion/invariant library.

  • v1.0.2
  • 54.21
  • Published

espower-source

Power Assert instrumentor from source to source, with source-map

  • v2.3.0
  • 54.21
  • Published

espower

Power Assert feature instrumentor based on the ECMAScript AST

  • v2.1.2
  • 53.62
  • Published

@nightwatch/chai

A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.

  • v5.0.3
  • 53.52
  • Published

espower-loader

Power Assert feature instrumentor on the fly

  • v1.2.2
  • 53.34
  • Published

empower-assert

Convert assert to power-assert on ESTree AST

  • v2.0.0
  • 52.95
  • Published

chai-dom

DOM assertions for the Chai assertion library using vanilla JavaScript

  • v1.12.1
  • 52.85
  • Published

n4s

Assertion library for form validations

  • v5.0.28
  • 48.98
  • Published

git-branch-is

Assert that the name of the current branch of a git repository has a particular value.

  • v4.0.0
  • 48.90
  • Published

spok

Checks a given object against a given set of specifications to keep you from writing boilerplate tests.

  • v1.5.5
  • 48.84
  • Published

yeoman-assert

Assert utility from yeoman

  • v3.1.1
  • 48.03
  • Published

unassert

Encourages programming with assertions by providing tools to compile them away

  • v2.0.2
  • 47.81
  • Published

unexpected

Extensible BDD assertion toolkit

  • v13.2.1
  • 47.72
  • Published

unassertify

Browserify transform for unassert: Encourages programming with assertions by providing tools to compile them away

  • v3.0.1
  • 46.93
  • Published

chai-colors

Color assertions for chai

  • v1.0.1
  • 46.57
  • Published

@hapi/code

assertion library

  • v9.0.3
  • 46.55
  • Published

typy

Minimal JavaScript type checking library

  • v3.3.0
  • 46.06
  • Published

@bahmutov/spok

Checks a given object against a given set of specifications to keep you from writing boilerplate tests.

  • v1.2.10
  • 45.99
  • Published

@stdlib/assert

Standard assertion utilities.

  • v0.3.3
  • 45.98
  • Published

@stdlib/assert-instance-of

Test whether a value has in its prototype chain a specified constructor as a prototype property.

  • v0.2.2
  • 45.71
  • Published

chai-xml

Xml assertions for Chai

  • v0.4.1
  • 45.49
  • Published

chai-almost

Extends chai with assertions that allow for floating point rounding errors

  • v1.0.1
  • 45.13
  • Published

chai-changes

Change assertions for the Chai assertion library

  • v1.3.6
  • 44.54
  • Published

assume

Expect-like assertions that works seamlessly in node and browsers

  • v2.3.0
  • 44.53
  • Published

chai-jquery

jQuery assertions for the Chai assertion library

  • v2.1.0
  • 44.12
  • Published

@marionebl/is

Type check values: `is.string('🦄') //=> true`

  • v0.5.1-0
  • 44.11
  • Published

chai-url

A chai assertion plugin for working with urls

  • v1.0.4
  • 43.58
  • Published

unexpected-messy

Unexpected plugin for the messy library

  • v11.1.0
  • 43.52
  • Published

chai-backbone

Backbone assertions for the Chai assertion library

  • v0.9.4
  • 43.30
  • Published

@firanorg/mollitia-molestias-accusamus

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

  • v10.13.142
  • 43.27
  • Published

earl

Ergonomic, modern and type-safe assertion library

  • v1.3.0
  • 42.59
  • Published

must

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.

  • v0.13.4
  • 42.50
  • Published

unexpected-sinon

This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for the [Sinonjs](http://sinonjs.org/) mocking library.

  • v11.1.0
  • 41.99
  • Published

chai-json

A chai plugin to validate json files

  • v1.0.0
  • 41.60
  • Published

@dramaorg/delectus-culpa-reprehenderit

[![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

  • v3.5.94
  • 41.15
  • Published

chai-fs

Chai assertions for Node.js filesystem

  • v2.0.0
  • 41.06
  • Published

chai-json-equal

Assert on equality of json representations in Chai

  • v0.0.1
  • 40.63
  • Published

bats-assert

Common assertions for Bats

  • v2.2.0
  • 40.62
  • Published

unexpected-dom

DOM plugin for the unexpected assertion libary

  • v6.0.1
  • 39.73
  • Published

unit.js

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, ...).

  • v2.1.1
  • 39.41
  • Published

chai-wait-for

Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)

  • v3.1.1
  • 38.99
  • Published

chai-html

HTML assertions for Chai.

  • v3.1.0
  • 38.32
  • Published

poku

🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

  • v3.0.2
  • 38.18
  • Published

@esm2cjs/is

Type check values. This is a fork of sindresorhus/is, but with CommonJS support.

  • v5.6.0
  • 38.06
  • Published

unexpected-map

Add support to Unexpected for testing Map instances

  • v3.1.0
  • 37.41
  • Published

unexpected-set

Add support to Unexpected for testing Set instances

  • v3.3.0
  • 37.39
  • Published

cucumber-assert

An assertion library for cucumber.js providing cucumber compatible failures instead of exceptions

  • v2.0.1
  • 36.11
  • Published

joi-assert

Assert values using Joi schemas

  • v0.0.3
  • 35.91
  • Published

objectmodel

Strong Dynamically Typed Object Modeling for JavaScript

  • v4.4.5
  • 35.78
  • Published

zora

the lightest yet the fastest javascript testing library

  • v6.0.0
  • 34.81
  • Published

sinon-chai-in-order

A Chai plugin providing assertions on the order of Sinon spy calls

  • v0.1.0
  • 34.81
  • Published

typed-validators

complex type validators that generate TypeScript and Flow types for you

  • v4.5.1
  • 34.25
  • Published

unexpected-knockout

This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for [Knockout](http://knockoutjs.org).

  • v6.1.0
  • 34.15
  • Published

cypress-intercept-search

A Cypress plugin to recursively search your intercepted requests/responses by key/value

  • v1.0.4
  • 33.82
  • Published

unexpected-stream

node.js streams plugin for the Unexpected assertion library

  • v5.1.0
  • 33.75
  • Published

its

Preconditions for safe coding

  • v1.0.2
  • 33.71
  • Published

wait-for-throwable

Simple utility to retry an erroring function until it succeeds

  • v1.0.1
  • 33.62
  • Published

extend-tape

Extends Tape with new assertions

  • v1.2.0
  • 33.56
  • Published

must-call

example.on('end', mustCall(() => {})); Check the callback function is called.

  • v1.0.0
  • 33.47
  • Published

chai-array

Array assertion helpers for the Chai assertion library

  • v0.0.2
  • 33.19
  • Published

chaid

Id equality assertions for chai

  • v1.0.2
  • 32.91
  • Published

respect

Comparison plugin for BDD assertion libraries (chai, should)

  • v0.2.3
  • 32.77
  • Published

chai-jq

An alternate jQuery assertion library for Chai.

  • v0.0.9
  • 32.60
  • Published

chai-style

CSS Style assertions for elements, using Chai.js

  • v1.0.3
  • 32.57
  • Published

jest-expect

Make jest expect more convenient.

  • v0.0.1
  • 32.25
  • Published

argument-contracts

A small and simple library for asserting argument are the correct types

  • v1.2.3
  • 32.09
  • Published

@slimio/is

SlimIO is (JavaScript Primitives & Objects type checker)

  • v2.0.0
  • 31.49
  • Published

snap-shot

Jest-like snapshot feature for the rest of us + data-driven testing

  • v2.17.0
  • 31.19
  • Published

@browserstack/testcafe

Automated browser testing for the modern web development stack.

  • v1.8.6
  • 30.99
  • Published

earljs

Ergonomic, modern and type-safe assertion library

  • v0.2.3
  • 30.96
  • Published

unexpected-image

Image metadata plugin for the Unexpected assertion library

  • v4.1.0
  • 30.13
  • Published

t6

Lightweight assertion testing framework

  • v1.2.1
  • 30.13
  • Published

browser-ava

Run ava tests in the browser

  • v2.3.31
  • 29.97
  • Published

ava-spec

Drop-in BDD helpers for AVA test runner 🌠

  • v1.1.1
  • 29.77
  • Published

gulp-espower

A gulp plugin for power-assert

  • v1.1.0
  • 29.65
  • Published

espowerify

Browserify transform for power-assert

  • v1.1.0
  • 29.37
  • Published

unexpected-magicpen

MagicPen plugin for the Unexpected assertion library

  • v3.0.0
  • 29.34
  • Published

@plugjs/expect5

Unit Testing for the PlugJS Build System ========================================

  • v0.6.66
  • 28.81
  • Published

chai-cheerio

Cheerio assertions for the Chai assertion library

  • v1.0.0
  • 28.66
  • Published

jest-callslike

A jest assertion that checks calls for count, order and informed parameters, all at once

  • v0.2.1
  • 28.53
  • Published

is-positive-int

Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER

  • v1.23.0
  • 28.35
  • Published

borrowing

A utility library that provides borrowing mechanisms via assertion functions

  • v0.3.4
  • 27.99
  • Published

unassessed

Extensible type-aware assertion library

  • v0.3.1
  • 27.91
  • Published

guardz

A simple and lightweight TypeScript type guard library for runtime type validation.

  • v1.12.2
  • 27.65
  • Published

chai-jsx

JSX React Element assertions for chai

  • v1.0.1
  • 27.44
  • Published

is-any-type

is-any-type simple functionality alternative to check data type references such as typeof and instanceof

  • v0.0.4
  • 27.37
  • Published

ava-http

Async HTTP request wrapper

  • v1.0.0
  • 27.26
  • Published

cypress-should

Supercool assertion library for Cypress

  • v0.0.5
  • 27.14
  • Published

mismatched

A composable matching/assertion/validation framework in Typescript that displays mismatches as diff trees

  • v4.0.1
  • 27.09
  • Published

unexpected-immutable

Assert (pretty) equality of Immutable.js iterables with unexpected

  • v0.5.0
  • 27.09
  • Published

assertate

TypeScript assertion helpers

  • v2.4.0
  • 26.81
  • Published

assert-env

Assert that specific environment variables exist.

  • v0.6.0
  • 26.73
  • Published

espower-cli

Command line tool for power-assert

  • v1.1.0
  • 26.73
  • Published

snapsnap

Tools for snapshotting, replaying, and mocking HTTP queries with Jest

  • v0.2.1
  • 26.69
  • Published

chai-react

React assertions for the Chai assertion library

  • v4.0.0
  • 25.96
  • Published

hein

Assertion library written in TypeScript

  • v1.5.0
  • 25.40
  • Published

rtvjs

Runtime Verification Library for browsers and Node.js.

  • v5.0.0
  • 25.36
  • Published

assert-argument

simple assertion module for checking function arguments

  • v2.0.0
  • 25.24
  • Published

chai-date-proximity

Date comparison assertions for the Chai assertion library

  • v0.0.3
  • 24.58
  • Published

expectations

jasmine-style 'expect' calls for mocha and other test frameworks

  • v1.0.0
  • 24.32
  • Published

inspect.js

Powerful test inspection library

  • v1.13.1
  • 24.30
  • Published

jsx-test-helpers

Helpers to easily write tests for React component/JSX code

  • v3.0.0
  • 24.22
  • Published

hybrid-chai

BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

  • v0.0.1
  • 24.00
  • Published

chai-soft-assert

Chai helper to include soft assertions on chai package

  • v0.1.1
  • 23.98
  • Published

expect-runtime

expect assertion on the runtime

  • v0.10.1
  • 23.94
  • Published

chai-generator

Extend Chai with assertions for Javascript generators

  • v2.1.0
  • 23.83
  • Published

chai_test

BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

  • v3.5.1
  • 23.72
  • Published

msw-inspector

Inspect requests intercepted by MSW

  • v3.2.0
  • 23.61
  • Published

chai-param-nn

Adds useful methods for using chai to validate function parameters

  • v0.0.4
  • 23.52
  • Published

jest-t-assert

Use tape style assertions with Jest

  • v0.3.0
  • 23.33
  • Published

webpack-unassert-loader

A webpack loader for unassert: Encourages programming with assertions by providing tools to compile them away

  • v1.2.0
  • 23.04
  • Published

node-red-contrib-flow-asserter

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.

  • v0.4.0
  • 22.98
  • Published

jest-package-audit

Filter and retry yarn/npm audit command with Jest.

  • v5.0.4
  • 22.71
  • Published

certain

An Assertion Library

  • v1.8.0
  • 22.48
  • Published

assert-js

Javascript simple assertion library with no dependencies.

  • v1.0.0
  • 22.33
  • Published

gulp-unassert

Gulp plugin for unassert: Encourages programming with assertions by providing tools to compile them away

  • v3.0.0
  • 22.07
  • Published

hereafter

Asynchronous assertion library for fast, high-level behavioral testing

  • v1.0.4
  • 21.98
  • Published

@shedevro/assert

Assertion typescript library for better, comfortable and safe coding. See readme!

  • v1.4.2
  • 21.96
  • Published

lazy-ass-helpful

lazy-ass plugin to automatically show helpful info for failed assertions

  • v0.6.1
  • 21.90
  • Published

node-assert

An augmented assertion framework for node.js

  • v0.0.1
  • 21.88
  • Published

@crabas0npm/vitae-atque-placeat

<div align="center"> <h1>🦊 » Random fox images « 🦊</h1> <img src="https://cdn.sefinek.net/images/animals/fox/red-fox-in-the-wild-2-1624831.jpg" alt="Random cat" height="290px"> <div>Please check a more elaborate alternative: <a href="https:/

  • v1.0.0
  • 21.83
  • Published

verity

a lib for testing for http request/response

  • v0.8.2
  • 21.82
  • Published

snapshot-assertion

Asserts a string matches a snapshot saved in a file. An environment variable can be used to save rather than assert snapshots.

  • v5.0.0
  • 21.82
  • Published

heya-ice

ICE: logging, debugging, and assert facility.

  • v0.1.11
  • 21.77
  • Published

@ajhgwdjnpm/vel-optio-earum

![logo](https://github.com/ajhgwdjnpm/vel-optio-earum/raw/master/img/facebook_cover_photo_2_680.png)

  • v1.0.0
  • 21.61
  • Published

@ryniaubenpm/vero-qui-incidunt

<p align="center"> IEEE 754 half-precision floating-point ponyfill for JavaScript<br> See <a href="https://github.com/tc39/proposal-float16array">TC39 proposal</a> or <a href="https://esdiscuss.org/topic/float16array">the archive of the ES Discuss Flo

  • v1.0.0
  • 21.59
  • Published