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