Skip to content

Commit ffed2aa

Browse files
watildeaduh95
authored andcommitted
doc: fix process import in test runner workerId example
Signed-off-by: Daijiro Wachi <[email protected]> PR-URL: #67316 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Pietro Marchini <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent 7667a8f commit ffed2aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎doc/api/test.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4774,7 +4774,7 @@ server ports) across concurrent test files:
47744774

47754775
```mjs
47764776
import { test } from 'node:test';
4777-
import { process } from 'node:process';
4777+
import process from 'node:process';
47784778

47794779
test('database operations', async (t) => {
47804780
// Worker ID is available via context

0 commit comments

Comments
 (0)