JSPM

Found 351 results for expect

jest

Delightful JavaScript Testing.

  • v30.1.3
  • 99.11
  • Published

jest-cli

Delightful JavaScript Testing.

  • v30.1.3
  • 97.95
  • Published

@jest/core

Delightful JavaScript Testing.

  • v30.1.3
  • 97.04
  • Published

wait-for-expect

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

  • v4.0.0
  • 76.61
  • Published

ava

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

  • v6.4.1
  • 76.48
  • Published

chai-exclude

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

  • v3.0.1
  • 71.47
  • Published

ts-expect

Checks TypeScript types match expected values

  • v1.3.0
  • 68.98
  • Published

chai-deep-match

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

  • v1.2.1
  • 68.84
  • Published

chai-arrays

a simple chai plugin for better array assertions

  • v2.2.0
  • 66.21
  • Published

expect-more-jest

Write Beautiful Specs with Custom Matchers for Jest

  • v5.5.0
  • 62.16
  • Published

jest-chain

Chain Jest matchers together to create one powerful assertion

  • v1.1.6
  • 60.00
  • Published

will-call

check that expected function calls are actually made

  • v1.0.1
  • 59.33
  • Published

chai-uuid

Chai plugin for performing assertions on UUIDs

  • v1.0.6
  • 58.43
  • Published

@stdlib/assert

Standard assertion utilities.

  • v0.3.3
  • 58.34
  • Published

@hapi/code

assertion library

  • v9.0.3
  • 57.99
  • Published

assume

Expect-like assertions that works seamlessly in node and browsers

  • v2.3.0
  • 55.92
  • Published

chai-asserttype

a simple chai plugin for asserting on types

  • v1.0.5
  • 54.97
  • Published

odottaa

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

  • v1.1.19
  • 53.60
  • Published

tstyche

Everything You Need for Type Testing.

  • v4.3.0
  • 53.20
  • Published

earl

Ergonomic, modern and type-safe assertion library

  • v1.3.0
  • 52.77
  • Published

jest-react-mock

jest helper for react-mock-component

  • v3.2.0
  • 52.42
  • Published

karma-expect

Expect.js adapter for Karma

  • v1.1.3
  • 51.51
  • Published

mocha-expect-snapshot

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

  • v8.0.0
  • 51.04
  • Published

@japa/expect

Assertion package built on top of Jest expect

  • v3.0.6
  • 49.45
  • 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.76
  • 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.94
  • Published

expect-jsx

toEqualJSX for mjackson/expect

  • v5.0.0
  • 46.98
  • Published

mocha-list-tests

List mocha suites and tests without running anything

    • v1.1.0
    • 45.46
    • Published

    @sadams/wait-for-expect

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

    • v1.2.0
    • 45.29
    • Published

    expect-immutable

    immutable js extension for expect.js

    • v0.0.3
    • 44.20
    • Published

    expect-predicate

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

    • v1.0.0
    • 44.10
    • Published

    expect-element

    Write better assertions for DOM nodes

    • v1.1.1
    • 43.92
    • Published

    @exodus/test

    A test suite runner

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

    assert-helpers

    Common utilities and helpers to make testing assertions easier

    • v11.13.0
    • 42.99
    • Published

    wait-for-throwable

    Simple utility to retry an erroring function until it succeeds

    • v1.0.1
    • 42.75
    • Published

    expect-telnet

    telnet automation through expect-send sequences, like in Tcl

    • v1.0.0
    • 42.43
    • Published

    jest-expect

    Make jest expect more convenient.

    • v0.0.1
    • 41.34
    • Published

    jest-expect-har

    Jest/Vitest matcher for asserting valid HAR definitions

    • v8.0.6
    • 40.79
    • 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.46
    • Published

    earljs

    Ergonomic, modern and type-safe assertion library

    • v0.2.3
    • 39.17
    • Published

    jest-expect-openapi

    Jest/Vitest matcher for asserting valid OpenAPI definitions

    • v4.0.1
    • 39.16
    • Published

    jest-tsd

    The easiest way to test your TS types with Jest

    • v0.2.2
    • 39.12
    • 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
    • 38.58
    • Published

    expect-cookies

    SuperTest Cookie Assertions

    • v0.3.0
    • 38.49
    • Published

    @plugjs/expect5

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

    • v0.6.66
    • 36.60
    • 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
    • 36.59
    • Published

    @fantasticfiasco/expect

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

    • v1.1.0
    • 36.24
    • Published

    babel-jest-assertions

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

    • v0.1.0
    • 35.94
    • Published

    sinon-expect

    Expect matchers for sinon

    • v0.3.0
    • 35.78
    • Published

    suppose

    Automate command line programs. Like UNIX expect.

    • v0.6.2
    • 35.34
    • 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
    • 35.27
    • 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.88
    • Published

    jest-testdouble

    Additional Jest matchers for testdouble

    • v2.1.0
    • 34.69
    • Published

    is-any-type

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

    • v0.0.4
    • 34.66
    • Published

    cypress-should

    Supercool assertion library for Cypress

    • v0.0.5
    • 34.34
    • Published

    expect-more-jasmine

    Write Beautiful Specs with Custom Matchers for Jasmine

    • v0.5.0
    • 34.12
    • Published

    jest-json-extend

    Jest expect matchers for JSON strings with jsonpath supported

      • v0.0.1
      • 33.23
      • Published

      snapsnap

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

      • v0.2.1
      • 33.22
      • Published

      expectations

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

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

      deride

      Mocking library based on composition

      • v1.3.0
      • 31.24
      • Published

      expect-to-throw

      Method to expect that an async function throws

      • v3.0.75
      • 31.02
      • Published

      run-verify

      Proper test verifications

      • v1.2.7
      • 30.76
      • Published

      expect-redux

      Async expect matchers for redux

      • v5.0.3
      • 30.76
      • Published

      expect-enzyme

      Enzyme assertions for mjackson's Expect library

      • v1.3.0
      • 30.64
      • Published

      jsx-test-helpers

      Helpers to easily write tests for React component/JSX code

      • v3.0.0
      • 30.57
      • Published

      easily-expect

      You can easily use expect

      • v1.0.6
      • 30.55
      • Published

      expect-runtime

      expect assertion on the runtime

      • v0.10.1
      • 30.25
      • Published

      inspect.js

      Powerful test inspection library

      • v1.13.1
      • 29.93
      • Published

      flug

      Flug: The Test Runner with the Shortest Time to Takeoff

      • v2.8.2
      • 29.02
      • Published

      whether-is

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

      • v1.3.1
      • 28.73
      • Published

      deep-assert

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

      • v0.3.0
      • 28.33
      • Published

      jest-fp-ts

      Jest matchers for fp-ts data types

      • v0.0.1
      • 28.32
      • Published

      expect-legacy

      Write better assertions

      • v1.20.2
      • 28.12
      • Published

      expect-matchers

      Additional expect (jest/vitest/standalone) matchers

      • v1.2.0
      • 27.79
      • Published

      @rbxts/expect

      Test-agnostic assertion library for ROBLOX.

      • v2.0.1
      • 27.25
      • Published

      karma-expect-maptalks

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

      • v0.1.5
      • 26.48
      • Published

      rust-option

      brings Option / Result / match from Rust to Javascript

      • v0.12.0
      • 25.33
      • Published

      m.test

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

      • v0.0.58
      • 25.31
      • Published

      aqa

      Dependency-less Test Runner for Node.js

      • v1.6.13
      • 24.35
      • Published

      spectcl-fixedv12

      Spawns and interacts with child processes using spawn / expect commands

      • v0.7.4
      • 24.32
      • Published

      buckwheat

      A TypeScript assertion library for writing useful unit tests faster

      • v1.1.2
      • 23.78
      • Published

      await-async-task

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

      • v2.0.2
      • 22.70
      • Published

      assertly

      Assert class for BDD-style assertions

      • v1.0.2
      • 22.12
      • Published

      soda-test

      Package for Unit and API tests

      • v2.2.6
      • 21.26
      • Published

      @mockyeah/fetch

      fetch integration for mockyeah request mocking utility.

      • v1.0.3
      • 21.25
      • Published

      chai-expected-cookie

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

      • v1.0.2
      • 20.77
      • Published

      @edgeguideab/expect

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

      • v9.0.0
      • 20.63
      • Published

      jest-shell-matchers

      Test shell scripts while mocking specific commands

      • v1.0.2
      • 20.10
      • Published

      @mockyeah/server

      A powerful service mocking, recording, and playback utility.

      • v1.0.3
      • 20.01
      • 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
      • 19.77
      • Published

      eslint-plugin-rs

      Contains eslint rules for tests and decorators

      • v1.0.4
      • 19.19
      • Published

      @asdgf/core

      A stupid simple way to test

      • v0.0.4
      • 18.63
      • Published

      @zerothrow/expect

      Shared test matcher logic for ZeroThrow Result types

      • v0.2.1
      • 17.72
      • Published

      playwright-tables

      Custom playwright matchers to validate HTML tables.

      • v1.1.34
      • 17.65
      • Published

      @mockyeah/cli

      A powerful service mocking, recording, and playback utility.

      • v1.0.3
      • 17.54
      • Published

      @amaui/test

      Test suite for front end and back end

      • v1.1.3
      • 17.17
      • Published

      vitest-response-matchers

      Custom matchers for validating HTTP responses in testing environments

        • v1.0.2
        • 16.92
        • Published

        sanna

        Productivity focused testing for node.js

        • v0.0.10
        • 16.67
        • Published

        declare-it

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

        • v3.0.8
        • 16.08
        • Published

        k6-expect

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

        • v1.2.3
        • 15.89
        • Published

        @onesy/test

        Test suite for front end and back end

        • v1.0.0
        • 15.79
        • Published

        catch-and-match

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

        • v0.2.16
        • 15.60
        • Published

        ts-inquisition

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

        • v0.1.0
        • 15.34
        • Published

        validate.io

        Validation utilities.

        • v2.0.7
        • 15.26
        • Published

        knowhow-shell

        An interpreter to run automated shell jobs

        • v0.1.65
        • 14.84
        • Published

        sedest

        Jest matchers for fp-ts data types

        • v1.16.1
        • 14.47
        • Published

        3h-test

        A simple test lib.

        • v0.10.0
        • 14.33
        • 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
        • 14.09
        • Published

        @asdgf/cli

        A stupid simple way to test

        • v0.0.15
        • 13.94
        • Published

        jquery.expect

        jQuery based DOM Assertion library

        • v0.2.0
        • 13.48
        • Published

        @angular-package/testing

        Jasmine unit testing wrapper with additional custom testing features.

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

        scripterio

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

        • v1.11.0
        • 12.80
        • Published

        hubble-expect

        Simple module for ensuring specific options are passed to a function

          • v1.2.4
          • 12.80
          • Published

          proofread

          Saga proofread - testing tool for redux sagas

          • v1.2.0
          • 12.71
          • Published

          abstruct

          Abstract structure for JavaScript data validation

          • v1.0.0
          • 12.61
          • Published

          @morlay/ava

          Futuristic test runner 🚀

          • v0.19.3
          • 12.42
          • Published

          expect-express

          common express testing assertions

          • v1.2.0
          • 12.38
          • Published

          @0bdx/are

          Synchronous utilities for unit testing apps, libraries and websites.

          • v0.0.8
          • 12.25
          • Published

          pekel

          a jest runner for writing cucumber tests

          • v0.0.8
          • 11.89
          • Published

          css-tester

          chained testing for dom elements with chai

          • v1.0.5
          • 11.47
          • Published

          expectacle

          A simple, sanely-syntaxed expectation library.

          • v3.1.0
          • 11.32
          • Published

          assumejs

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

          • v0.2.3
          • 11.22
          • Published

          test-battery

          Assertion engine for JavaScript that plays nicely with parallel promises

          • v3.1.0
          • 11.22
          • Published

          krav

          Yet another assertion library

          • v0.1.0
          • 11.12
          • Published

          args-expect

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

          • v0.2.1
          • 11.09
          • Published

          zillion-expect

          Simple module for ensuring specific options are passed to a function

            • v1.1.1
            • 10.91
            • Published

            assertchain-jasmine

            Fluent and extensible assertions for jasmine unit tests

            • v0.1.0
            • 10.74
            • Published

            transform-expected

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

            • v0.1.1
            • 10.33
            • Published

            koa-expect

            Params validator

            • v0.0.8
            • 10.30
            • Published

            pexpect

            Child process-interfacing helpers

              • v0.0.1
              • 10.25
              • Published

              softlib

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

              • v1.0.19
              • 10.19
              • Published

              chai-mugshot

              Chai plugin for Mugshot visual testing lib

              • v0.3.1
              • 9.86
              • Published

              inferjs-library

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

              • v0.0.7
              • 9.86
              • Published

              expect-change

              change assertion extension for expect.js.

              • v0.0.1
              • 9.86
              • Published

              presuppose

              assertions library

              • v1.1.1
              • 9.70
              • Published

              @topzero/ava

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

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

              @youbox/expect

              Simple module for ensuring specific options are passed to a function

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

              iced-expect

              An expect system for scripting interactive shell programs

              • v0.0.3
              • 8.88
              • Published

              api-inspect

              API inpection library

              • v0.1.2
              • 8.88
              • Published

              mocha-benchmark2

              Mocha + Benchmark + Chai, support sync and async test

              • v1.0.3
              • 8.86
              • Published

              NodeSSH

              SSH Client for NodeJS

              • v0.5.0
              • 8.76
              • Published

              expect-to

              Assertion library based on pure functions

              • v1.0.0
              • 8.68
              • Published

              chaimel

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

              • v3.0.0
              • 8.30
              • Published

              chai-structured-like

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

              • v1.1.0
              • 8.30
              • 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.30
              • Published

              expect-kafka

              Run e2e tests on kafka-based applications

              • v2.0.0
              • 8.27
              • Published

              @mockyeah/test-mocha

              Mocha unit test setup for mockyeah request mocking utility.

              • v1.0.3
              • 8.24
              • Published

              inferjs

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

              • v0.0.6
              • 8.24
              • 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
              • 7.65
              • 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
              • 7.65
              • Published

              stop-if

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

                • v1.0.3
                • 7.65
                • Published

                expect-assert

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

                • v0.0.2
                • 7.65
                • 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
                • 7.54
                • Published

                react-pattern-match

                Declaritive component for deciding what to render

                • v3.0.1
                • 7.54
                • Published

                spectcl

                Spawns and interacts with child processes using spawn / expect commands

                • v0.6.3
                • 7.50
                • Published

                node-expect

                Expect style stream parser for Node

                • v0.1.0
                • 6.91
                • Published

                expect-to-core

                Core assertions for the assertion library expect-to

                • v1.0.0
                • 6.91
                • Published

                telescope-expect

                Simple module for ensuring specific options are passed to a function

                  • v1.0.1
                  • 6.91
                  • Published

                  assert-easy

                  Deep data type test

                  • v1.1.0
                  • 6.91
                  • Published

                  jest-given

                  Consistently readable test descriptions for Jest

                  • v1.0.0
                  • 6.91
                  • Published

                  playwright-classification

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

                  • v1.1.35
                  • 6.86
                  • Published

                  yllr

                  Minimal, extensible runtime assertion library.

                  • v1.1.0
                  • 6.86
                  • Published

                  lib-expect

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

                  • v1.0.0
                  • 6.86
                  • Published

                  @asdgf/ui

                  A stupid simple way to test

                  • v0.0.2
                  • 6.82
                  • 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
                  • 6.78
                  • Published

                  expect-renum

                  Expect extra test for renum package.

                  • v1.0.2
                  • 6.06
                  • Published

                  ts-nanotest

                  Bare-bones Typescript test runner

                  • v0.2.4
                  • 6.06
                  • Published

                  athecoder-jest

                  Delightful JavaScript Testing.

                  • v24.10.1
                  • 6.06
                  • Published

                  expect-in

                  Declare expected entries in a JSON object

                  • v0.0.1
                  • 6.06
                  • Published

                  @ziobrowskyy/ava

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

                  • v1.0.85
                  • 6.05
                  • Published

                  vindaloo

                  Painless integragration testing.

                  • v0.1.1
                  • 6.05
                  • Published