Socket
Socket
Sign inDemoInstall

assert-deep-strict-equal

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    assert-deep-strict-equal

Async assert fails in Mocha you can see and don't timeout (written in TypeScript)


Version published
Weekly downloads
40
increased by73.91%
Maintainers
1
Install size
6.37 kB
Created
Weekly downloads
 

Readme

Source

assert-deep-strict-equal

<img src=https://centerkey.com/graphics/center-key-logo.svg align=right width=200 alt=logo>

Async assert fails in Mocha you can see and don't timeout (written in TypeScript)

License:MIT npm Vulnerabilities Build

1) Setup

Install package for node:

$ npm install --save-dev assert-deep-strict-equal

Import into your Mocha spec file:

import { assertDeepStrictEqual } from 'assert-deep-strict-equal';

2) Usage

const actual =   { x: 3, y: 7, z: 21 };
const expected = { x: 3, y: 7, z: 21 };
assertDeepStrictEqual(actual, expected, done);

Keywords

FAQs

Last updated on 23 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc