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 and aduh95 committed Jul 16, 2024
1 parent fa58d01 commit 50987ea
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 50987ea

Please sign in to comment.