From 7562ac61e0ea96ce939a1a415179b9b763c3ee79 Mon Sep 17 00:00:00 2001 From: zhenweijin Date: Mon, 19 Feb 2024 17:02:12 +0800 Subject: [PATCH] assert: add deep equal check for more Error type --- doc/api/assert.md | 15 +++++++++++---- lib/internal/util/comparisons.js | 20 +++++++++++++++++--- test/parallel/test-assert-deep.js | 23 +++++++++++++++++++++++ 3 files changed, 51 insertions(+), 7 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index 92121c42f20a46..ca1fc7ca9772a4 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -555,6 +555,9 @@ An alias of [`assert.ok()`][].