assert: remove assert.snapshot

PR-URL: https://github.com/nodejs/node/pull/46112
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Moshe Atlow authored and GitHub committed 2023-01-07 20:24:24 +00:00
1 parent 4aa537c005
commit 11e7858553
22 files changed
+6 -405

No files matched your search

-7
View File
@@ -705,13 +705,6 @@ A special type of error that can be triggered whenever Node.js detects an
exceptional logic violation that should never occur. These are raised typically
by the `node:assert` module.
<a id="ERR_ASSERT_SNAPSHOT_NOT_SUPPORTED"></a>
### `ERR_ASSERT_SNAPSHOT_NOT_SUPPORTED`
An attempt was made to use `assert.snapshot()` in an environment that
does not support snapshots, such as the REPL, or when using `node --eval`.
<a id="ERR_ASYNC_CALLBACK"></a>
### `ERR_ASYNC_CALLBACK`