Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert: add strict functionality export #17002

Closed
wants to merge 2 commits into from

Commits on Nov 23, 2017

  1. doc: improve assert documentation

    1) Separate all loose and strict functions.
    2) Stronger outline the used comparison rules in (not)deepStrictEqual
    3) Fix SameValue comparison info
    BridgeAR committed Nov 23, 2017
    Copy the full SHA
    37828f9 View commit details
    Browse the repository at this point in the history
  2. assert: add strict functionality export

    Requireing the strict version will allow to use `assert.equal`,
    `assert.deepEqual` and there negated counterparts to be used with
    strict comparison instead of using e.g. `assert.strictEqual`.
    
    The API is identical to the regular assert export and only differs
    in the way that all functions use strict compairson.
    BridgeAR committed Nov 23, 2017
    Copy the full SHA
    9692df7 View commit details
    Browse the repository at this point in the history