mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: fix process import in test runner workerId example
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com> PR-URL: https://github.com/nodejs/node/pull/67316 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
1 parent
7667a8fd5b
commit
ffed2aa208
1 file changed
+1
-1
+1
-1
@@ -4774,7 +4774,7 @@ server ports) across concurrent test files:
|
||||
|
||||
```mjs
|
||||
import { test } from 'node:test';
|
||||
import { process } from 'node:process';
|
||||
import process from 'node:process';
|
||||
|
||||
test('database operations', async (t) => {
|
||||
// Worker ID is available via context
|
||||
|
||||
Reference in new issue
Block a user