@@ -3363,6 +3363,21 @@ Type: Runtime
3363
3363
In a future version of Node.js, the ` asyncResource ` property will no longer
3364
3364
be added when a function is bound to an ` AsyncResource ` .
3365
3365
3366
+ ### DEP0173: the ` assert.CallTracker ` class
3367
+
3368
+ <!-- YAML
3369
+ changes:
3370
+ - version: REPLACEME
3371
+ pr-url: https://github.com/nodejs/node/pull/47740
3372
+ description: Documentation-only deprecation.
3373
+ -->
3374
+
3375
+ Type: Documentation-only
3376
+
3377
+ In a future version of Node.js, [ ` assert.CallTracker ` ] [ ] ,
3378
+ will be removed.
3379
+ Consider using alternatives such as the [ ` mock ` ] [ ] helper function.
3380
+
3366
3381
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3367
3382
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3368
3383
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3386,6 +3401,7 @@ be added when a function is bound to an `AsyncResource`.
3386
3401
[ `Server.listen({fd: <number>})` ] : net.md#serverlistenhandle-backlog-callback
3387
3402
[ `SlowBuffer` ] : buffer.md#class-slowbuffer
3388
3403
[ `WriteStream.open()` ] : fs.md#class-fswritestream
3404
+ [ `assert.CallTracker` ] : assert.md#class-assertcalltracker
3389
3405
[ `assert` ] : assert.md
3390
3406
[ `asyncResource.runInAsyncScope()` ] : async_context.md#asyncresourceruninasyncscopefn-thisarg-args
3391
3407
[ `buffer.subarray` ] : buffer.md#bufsubarraystart-end
@@ -3443,6 +3459,7 @@ be added when a function is bound to an `AsyncResource`.
3443
3459
[ `message.socket` ] : http.md#messagesocket
3444
3460
[ `message.trailersDistinct` ] : http.md#messagetrailersdistinct
3445
3461
[ `message.trailers` ] : http.md#messagetrailers
3462
+ [ `mock` ] : test.md#mocking
3446
3463
[ `module.createRequire()` ] : module.md#modulecreaterequirefilename
3447
3464
[ `os.networkInterfaces()` ] : os.md#osnetworkinterfaces
3448
3465
[ `os.tmpdir()` ] : os.md#ostmpdir
0 commit comments