JSPM

Found 351 results for expect

jest

Delightful JavaScript Testing.

  • v30.1.1
  • 97.56
  • Published

jest-cli

Delightful JavaScript Testing.

  • v30.1.1
  • 97.50
  • Published

@jest/core

Delightful JavaScript Testing.

  • v30.1.1
  • 95.96
  • Published

wait-for-expect

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

  • v4.0.0
  • 76.65
  • Published

ava

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

  • v6.4.1
  • 76.62
  • Published

chai-exclude

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

  • v3.0.1
  • 70.50
  • Published

ts-expect

Checks TypeScript types match expected values

  • v1.3.0
  • 68.04
  • Published

chai-deep-match

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

  • v1.2.1
  • 67.72
  • Published

chai-arrays

a simple chai plugin for better array assertions

  • v2.2.0
  • 65.84
  • Published

expect-more-jest

Write Beautiful Specs with Custom Matchers for Jest

  • v5.5.0
  • 61.48
  • Published

jest-chain

Chain Jest matchers together to create one powerful assertion

  • v1.1.6
  • 59.33
  • Published

@stdlib/assert

Standard assertion utilities.

  • v0.3.3
  • 58.22
  • Published

will-call

check that expected function calls are actually made

  • v1.0.1
  • 58.22
  • Published

@hapi/code

assertion library

  • v9.0.3
  • 58.13
  • Published

chai-uuid

Chai plugin for performing assertions on UUIDs

  • v1.0.6
  • 57.62
  • Published

assume

Expect-like assertions that works seamlessly in node and browsers

  • v2.3.0
  • 55.43
  • Published

chai-asserttype

a simple chai plugin for asserting on types

  • v1.0.5
  • 54.39
  • Published

tstyche

Everything You Need for Type Testing.

  • v4.3.0
  • 53.15
  • Published

odottaa

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

  • v1.1.19
  • 52.99
  • Published

earl

Ergonomic, modern and type-safe assertion library

  • v1.3.0
  • 52.20
  • Published

jest-react-mock

jest helper for react-mock-component

  • v3.2.0
  • 50.93
  • Published

mocha-expect-snapshot

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

  • v8.0.0
  • 50.80
  • Published

karma-expect

Expect.js adapter for Karma

  • v1.1.3
  • 50.48
  • Published

@japa/expect

Assertion package built on top of Jest expect

  • v3.0.6
  • 48.75
  • 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
  • 48.42
  • 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.29
  • Published

expect-jsx

toEqualJSX for mjackson/expect

  • v5.0.0
  • 46.67
  • Published

mocha-list-tests

List mocha suites and tests without running anything

    • v1.1.0
    • 45.32
    • Published

    @sadams/wait-for-expect

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

    • v1.2.0
    • 44.59
    • Published

    expect-element

    Write better assertions for DOM nodes

    • v1.1.1
    • 43.79
    • Published

    expect-immutable

    immutable js extension for expect.js

    • v0.0.3
    • 43.60
    • Published

    expect-predicate

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

    • v1.0.0
    • 43.60
    • Published

    assert-helpers

    Common utilities and helpers to make testing assertions easier

    • v11.13.0
    • 43.03
    • Published

    @exodus/test

    A test suite runner

    • v1.0.0-rc.102
    • 42.38
    • Published

    jest-expect-har

    Jest/Vitest matcher for asserting valid HAR definitions

    • v8.0.6
    • 42.15
    • Published

    expect-telnet

    telnet automation through expect-send sequences, like in Tcl

    • v1.0.0
    • 42.10
    • Published

    wait-for-throwable

    Simple utility to retry an erroring function until it succeeds

    • v1.0.1
    • 41.85
    • Published

    jest-expect

    Make jest expect more convenient.

    • v0.0.1
    • 40.66
    • 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
    • 39.91
    • Published

    jest-expect-openapi

    Jest/Vitest matcher for asserting valid OpenAPI definitions

    • v4.0.1
    • 39.74
    • Published

    earljs

    Ergonomic, modern and type-safe assertion library

    • v0.2.3
    • 39.20
    • Published

    babel-jest-assertions

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

    • v0.1.0
    • 38.73
    • Published

    jest-tsd

    The easiest way to test your TS types with Jest

    • v0.2.2
    • 38.67
    • Published

    sinon-expect

    Expect matchers for sinon

    • v0.3.0
    • 38.32
    • 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
    • 38.07
    • Published

    expect-cookies

    SuperTest Cookie Assertions

    • v0.3.0
    • 37.92
    • 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
    • 37.25
    • Published

    @fantasticfiasco/expect

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

    • v1.1.0
    • 36.26
    • 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
    • 36.08
    • Published

    @plugjs/expect5

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

    • v0.6.66
    • 36.01
    • Published

    suppose

    Automate command line programs. Like UNIX expect.

    • v0.6.2
    • 35.26
    • 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
    • 34.95
    • Published

    is-any-type

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

    • v0.0.4
    • 34.51
    • 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.40
    • Published

    cypress-should

    Supercool assertion library for Cypress

    • v0.0.5
    • 34.37
    • Published

    jest-testdouble

    Additional Jest matchers for testdouble

    • v2.1.0
    • 34.11
    • Published

    snapsnap

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

    • v0.2.1
    • 33.78
    • Published

    easily-expect

    You can easily use expect

    • v1.0.6
    • 33.01
    • Published

    run-verify

    Proper test verifications

    • v1.2.7
    • 33.01
    • Published

    expect-more-jasmine

    Write Beautiful Specs with Custom Matchers for Jasmine

    • v0.5.0
    • 32.79
    • Published

    expect-legacy

    Write better assertions

    • v1.20.2
    • 32.02
    • Published

    expect-redux

    Async expect matchers for redux

    • v5.0.3
    • 31.49
    • Published

    expect-to-throw

    Method to expect that an async function throws

    • v3.0.73
    • 31.35
    • Published

    jest-json-extend

    Jest expect matchers for JSON strings with jsonpath supported

      • v0.0.1
      • 31.26
      • Published

      deride

      Mocking library based on composition

      • v1.3.0
      • 30.79
      • Published

      expectations

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

      • v1.0.0
      • 30.66
      • Published

      expect-enzyme

      Enzyme assertions for mjackson's Expect library

      • v1.3.0
      • 30.45
      • Published

      deep-assert

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

      • v0.3.0
      • 30.31
      • Published

      expect-runtime

      expect assertion on the runtime

      • v0.10.1
      • 30.30
      • Published

      jsx-test-helpers

      Helpers to easily write tests for React component/JSX code

      • v3.0.0
      • 30.14
      • Published

      inspect.js

      Powerful test inspection library

      • v1.13.1
      • 29.78
      • Published

      m.test

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

      • v0.0.58
      • 28.96
      • Published

      whether-is

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

      • v1.3.1
      • 28.34
      • Published

      flug

      Flug: The Test Runner with the Shortest Time to Takeoff

      • v2.8.2
      • 28.32
      • Published

      expect-matchers

      Additional expect (jest/vitest/standalone) matchers

      • v1.2.0
      • 26.82
      • Published

      @rbxts/expect

      Test-agnostic assertion library for ROBLOX.

      • v2.0.1
      • 26.72
      • Published

      jest-fp-ts

      Jest matchers for fp-ts data types

      • v0.0.1
      • 25.78
      • Published

      rust-option

      brings Option / Result / match from Rust to Javascript

      • v0.12.0
      • 24.90
      • Published

      buckwheat

      A TypeScript assertion library for writing useful unit tests faster

      • v1.1.2
      • 24.69
      • Published

      spectcl-fixedv12

      Spawns and interacts with child processes using spawn / expect commands

      • v0.7.4
      • 24.41
      • Published

      aqa

      Dependency-less Test Runner for Node.js

      • v1.6.13
      • 24.01
      • Published

      karma-expect-maptalks

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

      • v0.1.5
      • 23.09
      • Published

      @zerothrow/expect

      Shared test matcher logic for ZeroThrow Result types

      • v0.2.1
      • 23.07
      • Published

      await-async-task

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

      • v2.0.2
      • 22.34
      • Published

      assertly

      Assert class for BDD-style assertions

      • v1.0.2
      • 21.76
      • Published

      @mockyeah/fetch

      fetch integration for mockyeah request mocking utility.

      • v1.0.3
      • 21.73
      • Published

      jest-shell-matchers

      Test shell scripts while mocking specific commands

      • v1.0.2
      • 21.48
      • Published

      @mockyeah/server

      A powerful service mocking, recording, and playback utility.

      • v1.0.3
      • 21.12
      • 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
      • 20.78
      • Published

      soda-test

      Package for Unit and API tests

      • v2.2.6
      • 20.64
      • Published

      playwright-tables

      Custom playwright matchers to validate HTML tables.

      • v1.1.34
      • 20.58
      • Published

      chai-expected-cookie

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

      • v1.0.2
      • 20.17
      • Published

      @edgeguideab/expect

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

      • v9.0.0
      • 20.04
      • Published

      eslint-plugin-rs

      Contains eslint rules for tests and decorators

      • v1.0.4
      • 19.48
      • Published

      @asdgf/core

      A stupid simple way to test

      • v0.0.4
      • 17.55
      • Published

      expect-change

      change assertion extension for expect.js.

      • v0.0.1
      • 17.53
      • Published

      scripterio

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

      • v1.11.0
      • 17.32
      • Published

      vitest-response-matchers

      Custom matchers for validating HTTP responses in testing environments

        • v1.0.2
        • 17.07
        • Published

        sanna

        Productivity focused testing for node.js

        • v0.0.10
        • 16.44
        • Published

        validate.io

        Validation utilities.

        • v2.0.7
        • 16.30
        • Published

        declare-it

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

        • v3.0.8
        • 16.23
        • Published

        ts-inquisition

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

        • v0.1.0
        • 16.23
        • Published

        @mockyeah/cli

        A powerful service mocking, recording, and playback utility.

        • v1.0.3
        • 15.77
        • Published

        catch-and-match

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

        • v0.2.16
        • 15.71
        • Published

        jquery.expect

        jQuery based DOM Assertion library

        • v0.2.0
        • 15.09
        • Published

        3h-test

        A simple test lib.

        • v0.10.0
        • 14.48
        • 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
        • 13.68
        • Published

        abstruct

        Abstract structure for JavaScript data validation

        • v1.0.0
        • 12.56
        • Published

        assumejs

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

        • v0.2.3
        • 12.55
        • Published

        k6-expect

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

        • v1.2.3
        • 12.29
        • Published

        @morlay/ava

        Futuristic test runner 🚀

        • v0.19.3
        • 12.01
        • Published

        css-tester

        chained testing for dom elements with chai

        • v1.0.5
        • 11.34
        • Published

        @angular-package/testing

        Jasmine unit testing wrapper with additional custom testing features.

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

        proofread

        Saga proofread - testing tool for redux sagas

        • v1.2.0
        • 11.32
        • Published

        softlib

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

        • v1.0.19
        • 11.26
        • Published

        expectacle

        A simple, sanely-syntaxed expectation library.

        • v3.1.0
        • 11.26
        • Published

        test-battery

        Assertion engine for JavaScript that plays nicely with parallel promises

        • v3.1.0
        • 11.09
        • Published

        stop-if

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

          • v1.0.3
          • 10.99
          • Published

          pexpect

          Child process-interfacing helpers

            • v0.0.1
            • 10.99
            • Published

            args-expect

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

            • v0.2.1
            • 10.68
            • Published

            transform-expected

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

            • v0.1.1
            • 10.62
            • Published

            krav

            Yet another assertion library

            • v0.1.0
            • 10.59
            • Published

            @0bdx/are

            Synchronous utilities for unit testing apps, libraries and websites.

            • v0.0.8
            • 10.54
            • Published

            expect-express

            common express testing assertions

            • v1.2.0
            • 10.53
            • Published

            chai-mugshot

            Chai plugin for Mugshot visual testing lib

            • v0.3.1
            • 9.83
            • Published

            knowhow-shell

            An interpreter to run automated shell jobs

            • v0.1.65
            • 9.71
            • Published

            inferjs-library

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

            • v0.0.7
            • 9.35
            • Published

            @topzero/ava

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

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

            expect-assert

            Extension for mocha that expects any assertion to have run in each test otherwise throwing error.

            • v0.0.2
            • 8.76
            • Published

            iced-expect

            An expect system for scripting interactive shell programs

            • v0.0.3
            • 8.76
            • Published

            api-inspect

            API inpection library

            • v0.1.2
            • 8.76
            • Published

            @asdgf/cli

            A stupid simple way to test

            • v0.0.15
            • 8.76
            • Published

            sedest

            Jest matchers for fp-ts data types

            • v1.16.1
            • 8.72
            • Published

            chaimel

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

            • v3.0.0
            • 8.20
            • Published

            assertchain-jasmine

            Fluent and extensible assertions for jasmine unit tests

            • v0.1.0
            • 8.20
            • Published

            chai-structured-like

            A Chai plugin with chainable helper assertions, comparing the structure of two objects

            • v1.1.0
            • 8.20
            • Published

            inferjs

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

            • v0.0.6
            • 8.20
            • 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
            • 8.19
            • 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
            • 8.15
            • Published

            zillion-expect

            Simple module for ensuring specific options are passed to a function

              • v1.1.1
              • 8.15
              • Published

              expect-to

              Assertion library based on pure functions

              • v1.0.0
              • 8.02
              • Published

              expect-renum

              Expect extra test for renum package.

              • v1.0.2
              • 7.56
              • Published

              expect-to-core

              Core assertions for the assertion library expect-to

              • v1.0.0
              • 7.56
              • Published

              @fmartin5/type-checking

              Runtime type checking and type assertion library for Node and the browser

              • v1.1.1
              • 7.56
              • Published

              @amaui/test

              Test suite for front end and back end

              • v1.1.3
              • 7.56
              • Published

              NodeSSH

              SSH Client for NodeJS

              • v0.5.0
              • 7.51
              • Published

              hubble-expect

              Simple module for ensuring specific options are passed to a function

                • v1.2.4
                • 7.51
                • Published

                react-pattern-match

                Declaritive component for deciding what to render

                • v3.0.1
                • 7.51
                • Published

                @traceloop/otel-proto

                Otel & Traceloop proto compiled to JS with type definitions

                • v0.8.0
                • 7.50
                • Published

                vindaloo

                Painless integragration testing.

                • v0.1.1
                • 6.87
                • Published

                node-expect

                Expect style stream parser for Node

                • v0.1.0
                • 6.83
                • 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
                • 6.83
                • Published

                playwright-classification

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

                • v1.1.35
                • 6.83
                • Published

                @mockyeah/test-mocha

                Mocha unit test setup for mockyeah request mocking utility.

                • v1.0.3
                • 6.83
                • Published

                @ianwalter/callback-loader

                A Webpack loader that receives content and passes it to a callback function specified in the loader options

                • v1.0.1
                • 5.99
                • Published

                lib-expect

                Tool for automating run interactive programs inspired by https://linux.die.net/man/1/expect

                • v1.0.0
                • 5.99
                • 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
                • 5.99
                • Published

                stream-expect

                Interact with streams using expect

                • v0.1.0
                • 5.98
                • Published

                expect-in

                Declare expected entries in a JSON object

                • v0.0.1
                • 5.98
                • Published

                spectcl

                Spawns and interacts with child processes using spawn / expect commands

                • v0.6.3
                • 5.95
                • Published

                mocha-chai-helper

                Require this in mocha to add expect, sinon, chai-things, chai-as-promised and sinon-chai to global namespace

                • v1.0.0
                • 5.95
                • Published

                agentgirl

                AgentGirl Factory Object for testing Dystopia Rising character build.

                • v0.0.2
                • 5.86
                • Published

                se6

                Software Engineering 6

                  • v1.0.0
                  • 5.86
                  • Published

                  expecting

                  Assertion library for Node and browsers

                  • v0.1.0
                  • 5.03
                  • Published

                  mocha-benchmark2

                  Mocha + Benchmark + Chai, support sync and async test

                  • v1.0.3
                  • 5.03
                  • Published

                  assert-easy

                  Deep data type test

                  • v1.1.0
                  • 5.00
                  • Published

                  console-expect

                  Wraps the console so you can test it better

                  • v2.1.0
                  • 5.00
                  • Published

                  truffle-conflux-expect

                  Simple module for ensuring specific options are passed to a function

                  • v0.0.2-alpha.0
                  • 5.00
                  • Published

                  teststate

                  Create immutable test state before each test case.

                  • v0.0.4
                  • 5.00
                  • Published

                  jest-given

                  Consistently readable test descriptions for Jest

                  • v1.0.0
                  • 4.99
                  • Published