From f93555c8e494d8578179354db9b3ca8f0ba4c4b8 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 | 18 ++++++++++++++---- lib/internal/util/comparisons.js | 20 +++++++++++++++++--- test/parallel/test-assert-deep.js | 23 +++++++++++++++++++++++ 3 files changed, 54 insertions(+), 7 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index 92121c42f20a46..23c588a3d55cc8 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -555,6 +555,10 @@ An alias of [`assert.ok()`][].