Skip to content

Commit

Permalink
doc: added require for node:process to the cjs example of new assert.…
Browse files Browse the repository at this point in the history
…CallTracker()
  • Loading branch information
mfdebian committed Jul 2, 2024
1 parent 66b76e2 commit 7d5a1bc
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 7d5a1bc

Please sign in to comment.