JSPM

Found 358 results for expect

jest

Delightful JavaScript Testing.

  • v30.2.0
  • 98.11
  • Published

@jest/core

Delightful JavaScript Testing.

  • v30.2.0
  • 97.91
  • Published

jest-cli

Delightful JavaScript Testing.

  • v30.2.0
  • 95.70
  • Published

ava

Node.js test runner that lets you develop with confidence.

  • v6.4.1
  • 77.47
  • Published

wait-for-expect

Wait for expectation to be true, useful for integration and end to end testing

  • v4.0.0
  • 76.56
  • Published

chai-exclude

Exclude keys to compare from a deep equal operation with chai expect and assert

  • v3.0.1
  • 72.11
  • Published

ts-expect

Checks TypeScript types match expected values

  • v1.3.0
  • 69.56
  • Published

chai-deep-match

Extends Chai with an assertion for deeply matching objects (i.e. subset equality checking)

  • v1.2.1
  • 67.65
  • Published

chai-arrays

a simple chai plugin for better array assertions

  • v2.2.0
  • 66.91
  • Published

expect-more-jest

Write Beautiful Specs with Custom Matchers for Jest

  • v5.5.0
  • 62.04
  • Published

jest-chain

Chain Jest matchers together to create one powerful assertion

  • v1.1.6
  • 60.74
  • Published

@stdlib/assert

Standard assertion utilities.

  • v0.3.3
  • 60.14
  • Published

@hapi/code

assertion library

  • v9.0.3
  • 59.84
  • Published

chai-uuid

Chai plugin for performing assertions on UUIDs

  • v1.0.6
  • 59.00
  • Published

will-call

check that expected function calls are actually made

  • v1.0.1
  • 58.91
  • Published

assume

Expect-like assertions that works seamlessly in node and browsers

  • v2.3.0
  • 57.05
  • Published

jest-react-mock

jest helper for react-mock-component

  • v3.2.0
  • 54.39
  • Published

tstyche

Everything You Need for Type Testing.

  • v5.0.0
  • 54.03
  • Published

chai-asserttype

a simple chai plugin for asserting on types

  • v1.0.5
  • 53.17
  • Published

odottaa

🦥 Custom playwright matchers to test the state of the API response

  • v1.1.19
  • 53.05
  • Published

karma-expect

Expect.js adapter for Karma

  • v1.1.3
  • 53.05
  • Published

earl

Ergonomic, modern and type-safe assertion library

  • v2.0.0
  • 51.39
  • Published

mocha-expect-snapshot

Mocha plugin to use `expect` with `jest-snapshot` and derived projects like `jest-image-snapshot`.

  • v8.0.0
  • 51.11
  • Published

@japa/expect

Assertion package built on top of Jest expect

  • v3.0.6
  • 49.70
  • Published

esmocha

[Mocha](https://mochajs.org) wrapper with built-in [typescript](https://github.com/node-loaders/loaders/tree/main/workspaces/esbuild), built-in [expect](https://jestjs.io/docs/expect) with [mock](https://github.com/node-loaders/loaders/tree/main/workspace

  • v4.0.0
  • 49.29
  • Published

expect-jsx

toEqualJSX for mjackson/expect

  • v5.0.0
  • 48.97
  • Published

playwright-expect

The playwright-expect is an assertion library for TypeScript and JavaScript intended for use with a test runner such as Jest or Playwright Test.

  • v0.1.2
  • 47.77
  • Published

mocha-list-tests

List mocha suites and tests without running anything

    • v1.1.0
    • 46.03
    • Published

    @exodus/test

    A test suite runner

    • v1.0.0-rc.107
    • 45.14
    • Published

    expect-element

    Write better assertions for DOM nodes

    • v1.1.1
    • 44.50
    • Published

    expect-predicate

    An extension for expect that lets you test values against arbitrary predicates

    • v1.0.0
    • 44.49
    • Published

    expect-immutable

    immutable js extension for expect.js

    • v0.0.3
    • 44.39
    • Published

    jest-testdouble

    Additional Jest matchers for testdouble

    • v2.1.0
    • 43.80
    • Published

    jest-expect-har

    Jest/Vitest matcher for asserting valid HAR definitions

    • v8.0.7
    • 43.50
    • Published

    earljs

    Ergonomic, modern and type-safe assertion library

    • v0.2.3
    • 43.17
    • Published

    @sadams/wait-for-expect

    Wait for expectation to be true, useful for integration and end to end testing

    • v1.2.0
    • 43.07
    • Published

    expect-telnet

    telnet automation through expect-send sequences, like in Tcl

    • v1.0.0
    • 42.97
    • Published

    jest-expect-openapi

    Jest/Vitest matcher for asserting valid OpenAPI definitions

    • v4.1.0
    • 42.42
    • Published

    jest-expect

    Make jest expect more convenient.

    • v0.0.1
    • 42.20
    • Published

    jest-image-matcher

    A Jest matcher for image comparisons based on pixelmatch. Can also be used with Mocha. Useful for visual regression testing.

    • v3.0.1
    • 41.52
    • Published

    karma-jquery-expect

    Framework for [jquery-expect](https://github.com/Codecademy/jquery-expect). A DOM assertion library built on top of jQuery and based on LearnBoost's expect.js

    • v0.1.1
    • 41.19
    • Published

    assert-helpers

    Common utilities and helpers to make testing assertions easier

    • v11.13.0
    • 40.93
    • Published

    wait-for-throwable

    Simple utility to retry an erroring function until it succeeds

    • v1.0.1
    • 40.67
    • Published

    jest-tsd

    The easiest way to test your TS types with Jest

    • v0.2.2
    • 40.27
    • Published

    sinon-expect

    Expect matchers for sinon

    • v0.3.0
    • 39.98
    • Published

    babel-jest-assertions

    Babel plugin that adds the number of assertions found in each test with expect.assertions(n)

    • v0.1.0
    • 39.64
    • Published

    bupkis

    Uncommonly extensible assertions for the beautiful people

    • v0.12.2
    • 39.59
    • Published

    @plugjs/expect5

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

    • v0.6.76
    • 39.59
    • Published

    expect-to-throw

    Method to expect that an async function throws

    • v3.0.82
    • 39.40
    • Published

    suppose

    Automate command line programs. Like UNIX expect.

    • v0.6.2
    • 38.08
    • Published

    multi-assert

    This module allows developers and testers to use multiple assertions in the same test and get feedback on all of the ones that would cause the test to fail, not just the first failed assertion encountered.

    • v0.0.3
    • 38.02
    • Published

    flug

    Flug: The Test Runner with the Shortest Time to Takeoff

    • v2.8.2
    • 37.41
    • Published

    @edgeguideab/expect

    Check for user input in a consistent way and generate error messages for missings

    • v9.0.0
    • 37.30
    • Published

    @asdgf/cli

    A stupid simple way to test

    • v0.0.15
    • 35.65
    • Published

    @fantasticfiasco/expect

    A Node.js library written in TypeScript providing argument validation.

    • v1.1.0
    • 35.20
    • Published

    deride

    Mocking library based on composition

    • v1.3.0
    • 34.98
    • Published

    klassijs-soft-assert

    The Assertion Tool is designed to enhance your testing framework by allowing tests to continue running even when assertions fail. Instead of halting the test upon an assertion failure, it will capture the error and continue running the test suite.

    • v1.3.0
    • 34.81
    • Published

    expectations

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

    • v1.0.0
    • 34.19
    • Published

    aqa

    Dependency-less Test Runner for Node.js

    • v1.6.14
    • 34.14
    • Published

    mocha-distributed

    Run multiple mocha suites and tests in parallel, from different processes and different machines. Results available on a redis database.

    • v0.9.6
    • 33.73
    • Published

    karma-expect-maptalks

    Karma adapter for expect-maptalks(https://github.com/MapTalks/expect-maptalks)

    • v0.1.5
    • 33.50
    • Published

    expect-legacy

    Write better assertions

    • v1.20.2
    • 33.14
    • Published

    cypress-should

    Supercool assertion library for Cypress

    • v0.0.5
    • 33.13
    • Published

    expect-redux

    Async expect matchers for redux

    • v5.0.3
    • 32.92
    • Published

    expect-runtime

    expect assertion on the runtime

    • v0.10.1
    • 32.91
    • Published

    jsx-test-helpers

    Helpers to easily write tests for React component/JSX code

    • v3.0.0
    • 32.77
    • Published

    easily-expect

    You can easily use expect

    • v1.0.6
    • 32.74
    • Published

    run-verify

    Proper test verifications

    • v1.2.7
    • 32.52
    • Published

    inspect.js

    Powerful test inspection library

    • v1.13.1
    • 32.30
    • Published

    m.test

    m(icro)test is a lightweight test runner for node.js written in es6+

    • v0.0.58
    • 32.11
    • Published

    expect-more-jasmine

    Write Beautiful Specs with Custom Matchers for Jasmine

    • v0.5.0
    • 31.88
    • Published

    jest-fp-ts

    Jest matchers for fp-ts data types

    • v0.0.1
    • 31.66
    • Published

    is-any-type

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

    • v0.0.4
    • 31.35
    • Published

    sedest

    Jest matchers for fp-ts data types

    • v1.16.1
    • 30.67
    • Published

    snapsnap

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

    • v0.2.1
    • 30.44
    • Published

    chai-pretty-expect

    Will JSON.stringify and pretty-print objects passed as 2nd, 3rd, ... parameter to expect, for nice test output

    • v1.0.1
    • 30.39
    • Published

    expect-enzyme

    Enzyme assertions for mjackson's Expect library

    • v1.3.0
    • 30.37
    • Published

    expect-matchers

    Additional expect (jest/vitest/standalone) matchers

    • v1.2.0
    • 29.93
    • Published

    @amaui/test

    Test suite for front end and back end

    • v1.1.3
    • 29.51
    • Published

    soda-test

    Package for Unit and API tests

    • v2.2.6
    • 29.21
    • Published

    knowhow-shell

    An interpreter to run automated shell jobs

    • v0.1.65
    • 29.14
    • Published

    k6-expect

    k6 library that simplifies writing tests in functional way by providing a simple and readable syntax for expectations

    • v1.2.3
    • 29.07
    • Published

    @rbxts/expect

    Test-agnostic assertion library for ROBLOX.

    • v2.0.1
    • 28.50
    • Published

    @mockyeah/fetch

    fetch integration for mockyeah request mocking utility.

    • v1.0.3
    • 28.01
    • Published

    @mockyeah/server

    A powerful service mocking, recording, and playback utility.

    • v1.0.3
    • 27.54
    • Published

    @scintilla-network/litest

    Dependency-free test framework with full Vitest API compatibility. Zero-dependency replacement for Vitest to reduce risk of supply chain attacks.

    • v1.4.1
    • 26.74
    • Published

    deep-assert

    Better deep-equals object expectations, supporting dynamic bottom-up assertions using any() and satisfies().

    • v0.3.0
    • 26.65
    • Published

    rust-option

    brings Option / Result / match from Rust to Javascript

    • v0.12.0
    • 26.40
    • Published

    @mockyeah/cli

    A powerful service mocking, recording, and playback utility.

    • v1.0.3
    • 25.93
    • Published

    softlib

    Dynamic code for type expectations, soft assertions, and logging to the terminal with stack trace.

    • v1.0.19
    • 25.16
    • Published

    3h-test

    A simple test lib.

    • v0.10.0
    • 24.81
    • Published

    expect-mcp

    Custom matchers for testing Model Context Protocol (MCP) integrations with Vitest and Jest.

      • v0.8.0
      • 24.66
      • Published

      jest-json-extend

      Jest expect matchers for JSON strings with jsonpath supported

        • v0.0.1
        • 24.63
        • Published

        jtester

        A tool for testing, with support of runtime testing

        • v6.0.10
        • 24.35
        • Published

        spectcl

        Spawns and interacts with child processes using spawn / expect commands

        • v0.6.3
        • 23.54
        • Published

        buckwheat

        A TypeScript assertion library for writing useful unit tests faster

        • v1.1.2
        • 23.41
        • Published

        sanna

        Productivity focused testing for node.js

        • v0.0.10
        • 23.34
        • Published

        eslint-plugin-rs

        Contains eslint rules for tests and decorators

        • v1.0.4
        • 23.28
        • Published

        @topzero/ava

        Node.js test runner that lets you develop with confidence.

        • v5.1.0-patch.4
        • 23.27
        • Published

        @mockyeah/test-jest

        Jest unit test setup for mockyeah request mocking utility.

        • v1.0.3
        • 23.20
        • Published

        @mockyeah/test-mocha

        Mocha unit test setup for mockyeah request mocking utility.

        • v1.0.3
        • 23.04
        • Published

        expect-matcher-node-mock

        Jest-like expect matchers for native Node.js test runner mock objects. Provides toHaveBeenCalled, toHaveBeenCalledWith, toHaveReturned and more.

        • v1.1.2
        • 22.87
        • Published

        css-tester

        chained testing for dom elements with chai

        • v1.0.5
        • 22.75
        • Published

        catch-and-match

        Assert an error thrown (a)synchronously by a function.

        • v0.2.16
        • 22.74
        • Published

        assertly

        Assert class for BDD-style assertions

        • v1.0.2
        • 22.66
        • Published

        playwright-tables

        Custom playwright matchers to validate HTML tables.

        • v1.1.34
        • 22.58
        • Published

        babel-autobind

        it binds methods to its class prototype + Compatible with stub/spy used on unit-test frameworks (Sinon.Js, enzyme,...so on) + Can be integrated with 3rd party decorators (like @autobind decorator)

        • v0.3.4
        • 22.44
        • Published

        spectcl-fixedv12

        Spawns and interacts with child processes using spawn / expect commands

        • v0.7.4
        • 22.26
        • Published

        @0bdx/are

        Synchronous utilities for unit testing apps, libraries and websites.

        • v0.0.8
        • 22.20
        • Published

        validate.io

        Validation utilities.

        • v2.0.7
        • 22.01
        • Published

        expectacle

        A simple, sanely-syntaxed expectation library.

        • v3.1.0
        • 21.91
        • Published

        @traceloop/otel-proto

        Otel & Traceloop proto compiled to JS with type definitions

        • v0.8.0
        • 21.75
        • Published

        abstruct

        Abstract structure for JavaScript data validation

        • v1.0.0
        • 21.68
        • Published

        pekel

        a jest runner for writing cucumber tests

        • v0.0.8
        • 21.59
        • Published

        @asdgf/core

        A stupid simple way to test

        • v0.0.4
        • 21.49
        • Published

        expect-to-core

        Core assertions for the assertion library expect-to

        • v1.0.0
        • 21.20
        • Published

        scripterio

        ScripterI/O - Simple, fast, runner for testing all JavaScript

        • v1.11.0
        • 20.93
        • Published

        baldrick-zest-engine

        DECOMMISSIONED: Prefer classic unit tests with AI assistance; see README for migration.

        • v1.0.0
        • 20.85
        • Published

        playwright-classification

        Custom playwright matchers to validate prediction classifiers on images or text.

        • v1.1.35
        • 20.43
        • Published

        await-async-task

        Waits for async operations and timers to be completed. Useful for testing async operations and timers.

        • v2.0.2
        • 20.14
        • Published

        test-battery

        Assertion engine for JavaScript that plays nicely with parallel promises

        • v3.1.0
        • 20.06
        • Published

        chai-expected-cookie

        Chai plugin for testing HTTP response set-cookie header and it's also support supertest.

        • v1.0.2
        • 19.91
        • Published

        @angular-package/testing

        Jasmine unit testing wrapper with additional custom testing features.

        • v3.0.0-alpha.3
        • 19.86
        • Published

        expect-it

        Expectation library used with test-it TDD framework

        • v0.0.1
        • 19.71
        • Published

        @t8ngs/expect

        Assertion package built on top of Jest expect

        • v1.1.0
        • 19.68
        • Published

        yllr

        Minimal, extensible runtime assertion library.

        • v1.1.0
        • 19.40
        • Published

        karma-totes

        Karma plugin for totes

        • v0.0.8
        • 19.34
        • Published

        jquery.expect

        jQuery based DOM Assertion library

        • v0.2.0
        • 18.92
        • Published

        expect-express

        common express testing assertions

        • v1.2.0
        • 18.77
        • Published

        inferjs-library

        A runtime library that allows you to infer rules for extended type checking in JavaScript.

        • v0.0.7
        • 18.68
        • Published

        @tleef/code

        assertion library

        • v5.2.0-r.1
        • 18.59
        • Published

        declare-it

        Test your types with style! Plugs into your favorite test framework.

        • v3.0.8
        • 18.50
        • Published

        ts-inquisition

        expect all type errors, except spanish inquisition. Nobody expects spanish inqusition.

        • v0.1.0
        • 18.33
        • Published

        chai-mugshot

        Chai plugin for Mugshot visual testing lib

        • v0.3.1
        • 18.20
        • Published

        @youbox/expect

        Simple module for ensuring specific options are passed to a function

        • v1.0.0-alpha.33
        • 18.13
        • Published

        inferjs

        A package of InferJS tools, designed for runtime checking of Javascript types and narrowing through expectations.

        • v0.0.6
        • 18.13
        • Published

        vitest-response-matchers

        Custom matchers for validating HTTP responses in testing environments

          • v1.0.2
          • 17.92
          • Published

          my-rest-assured

          [![Test](https://github.com/webdriverio/expect-webdriverio/actions/workflows/test.yml/badge.svg)](https://github.com/webdriverio/expect-webdriverio/actions/workflows/test.yml)

          • v1.0.9
          • 17.89
          • Published

          args-expect

          An tiny tool to make sure all arguments are as expected.

          • v0.2.1
          • 17.79
          • Published

          teststate

          Create immutable test state before each test case.

          • v0.0.4
          • 17.70
          • Published

          @casd/expect

          Simple javascript expect library, no frills

          • v0.0.5
          • 17.68
          • Published

          moodswing

          Node.js testing framework for that time of the software development cycle.

          • v0.1.4
          • 17.57
          • Published

          koa-expect

          Params validator

          • v0.0.8
          • 17.29
          • Published

          zillion-expect

          Simple module for ensuring specific options are passed to a function

            • v1.1.1
            • 17.24
            • Published

            expect-to

            Assertion library based on pure functions

            • v1.0.0
            • 17.05
            • Published

            stop-if

            An assert statement that throws an error if true. Does not run in production

              • v1.0.3
              • 17.00
              • Published

              expect-to-be

              > A simple and fast way to check the type of a given value.

              • v1.0.4
              • 17.00
              • Published

              @micromq/expect

              Simple middleware for validate params.

              • v1.0.2
              • 16.56
              • Published

              ultimate-chai

              ultimate chai library you'll ever need with cross mixture of sinon-chai, dirty-chai, chai-as-promised included

              • v4.1.1
              • 16.14
              • Published

              presuppose

              assertions library

              • v1.1.1
              • 16.14
              • Published

              chaimel

              Expose chai expect chains as camelCase instead of series.of.dots

              • v3.0.0
              • 16.08
              • Published

              using-stubs

              Deep code stubbing for node.js tests. Follow and override behaviour of infinitely nested pieces of code such as methods, require() and npm modules or even instances of classes, etc.

              • v2.0.1
              • 15.93
              • Published

              @dune-network/expect

              Simple module for ensuring specific options are passed to a function

              • v0.1.0-dune.1
              • 15.42
              • Published

              tinyexpect

              `expect` is a lightweight testing utility with 0 dependencies that provides a Jest-like assertion API for TypeScript/JavaScript projects that use the native Node.js test runner `node --test`.

              • v0.5.1
              • 15.42
              • Published

              assumejs

              Assume your node.js production server won't fail. And get notified if you were wrong.

              • v0.2.3
              • 15.41
              • Published

              request-expect

              request-expect ============== [![build status][travis-image]][travis-url] [![NPM version][npm-image]][npm-url] [![node version][node-image]][node-url]

              • v1.1.2
              • 15.27
              • Published

              @zerothrow/expect

              Shared test matcher logic for ZeroThrow Result types

              • v0.2.1
              • 15.23
              • Published

              wonder-jest

              Delightful JavaScript Testing.

              • v0.0.4
              • 15.16
              • Published

              karma-calling

              Test function parameters and errors in BDD-style assertions

              • v1.0.1
              • 15.09
              • Published

              expect-promise

              Write better assertions for Promises

              • v0.0.3
              • 15.06
              • Published

              react-pattern-match

              Declaritive component for deciding what to render

              • v3.0.1
              • 15.01
              • Published

              whether-is

              A comprehensive, extensible, and type-friendly type and value checking utility for JavaScript/TypeScript.

              • v1.3.1
              • 14.96
              • Published

              NodeSSH

              SSH Client for NodeJS

              • v0.5.0
              • 14.69
              • Published

              transform-expected

              Conditionally apply a stream transform or pass-through any objects that do not meet our expectations.

              • v0.1.1
              • 14.60
              • Published

              api-inspect

              API inpection library

              • v0.1.2
              • 14.41
              • Published

              @brendangooch/jest-expect

              Provides a slightly simpler syntax for writing jest tests + array comparison method

              • v2.0.0
              • 14.17
              • Published

              expect-asymmetric

              Asymmetric matchers for expect (jest/vitest)

              • v1.0.0
              • 14.17
              • Published

              expect-kafka

              Run e2e tests on kafka-based applications

              • v2.0.0
              • 13.74
              • Published

              newerty

              • v0.4.0
              • 13.67
              • Published