JSPM

assert-equal

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1016
  • Score
    100M100P100Q106695F
  • License MIT

Assert that two values are equal

Package Exports

  • assert-equal

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assert-equal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

assert-equal Build Status

Assert that two values are equal

Install

$ npm install --save assert-equal

Usage

var assertEqual = require('assert-equal')

assertEqual(1, 1)
//=> (noop)

assertEqual(1, 2)
//=> throw new Error('expected `1` to equal `2`')

License

MIT © Ben Drucker