Skip to content

Commit

Permalink
doc: require node:process in assert doc examples
Browse files Browse the repository at this point in the history
PR-URL: #53702
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
  • Loading branch information
mfdebian authored and marco-ippolito committed Aug 19, 2024
1 parent 754090c commit 3b632e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ process.on('exit', () => {

```cjs
const assert = require('node:assert');
const process = require('node:process');

const tracker = new assert.CallTracker();

Expand Down

0 comments on commit 3b632e1

Please sign in to comment.