Skip to content

Commit e377420

Browse files
OshriAsulinatlowChemi
authored andcommitted
Update import and require statements to use 'node:path'
In this commit, I update import and require statements throughout the codebase to use 'node:path' instead of 'path'.
1 parent 90c94c2 commit e377420

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ changes:
910910
import { tap } from 'node:test/reporters';
911911
import { run } from 'node:test';
912912
import process from 'node:process';
913-
import path from 'path';
913+
import path from 'node:path';
914914

915915
run({ files: [path.resolve('./tests/test.js')] })
916916
.compose(tap)
@@ -920,7 +920,7 @@ run({ files: [path.resolve('./tests/test.js')] })
920920
```cjs
921921
const { tap } = require('node:test/reporters');
922922
const { run } = require('node:test');
923-
const path = require('path');
923+
const path = require('node:path');
924924

925925
run({ files: [path.resolve('./tests/test.js')] })
926926
.compose(tap)

0 commit comments

Comments
 (0)