diff --git a/doc/api/assert.md b/doc/api/assert.md index 6e0c9ad409464c..b94f6ee9080ea0 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -30,6 +30,16 @@ assert(false, 'it\'s false'); ## assert.deepEqual(actual, expected[, message]) Tests for deep equality between the `actual` and `expected` parameters. @@ -91,6 +101,16 @@ parameter is undefined, a default error message is assigned. ## assert.deepStrictEqual(actual, expected[, message]) Generally identical to `assert.deepEqual()` with two exceptions. First, @@ -115,6 +135,13 @@ parameter is undefined, a default error message is assigned. ## assert.doesNotThrow(block[, error][, message]) Asserts that the function `block` does not throw an error. See @@ -402,6 +429,10 @@ If the values are not strictly equal, an `AssertionError` is thrown with a ## assert.throws(block[, error][, message]) Expects the function `block` to throw an error.