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 <benjamingr@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
  • Loading branch information
mfdebian authored Jul 4, 2024
1 parent 7622dd8 commit ba3aedc
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 ba3aedc

Please sign in to comment.