Skip to content

Commit ff6330a

Browse files
cjihrigtargos
authored andcommitted
test: fix 'timeout' typos
I don't think so, Tim. PR-URL: #29234 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 3c7a1a9 commit ff6330a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/common/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ function canCreateSymLink() {
401401
'System32', 'whoami.exe');
402402

403403
try {
404-
const output = execSync(`${whoamiPath} /priv`, { timout: 1000 });
404+
const output = execSync(`${whoamiPath} /priv`, { timeout: 1000 });
405405
return output.includes('SeCreateSymbolicLinkPrivilege');
406406
} catch {
407407
return false;

test/common/tmpdir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function rimrafSync(pathname, { spawn = true } = {}) {
2828
if (spawn && process.platform === 'win32' && st.isDirectory()) {
2929
try {
3030
// Try `rmdir` first.
31-
execSync(`rmdir /q /s ${pathname}`, { timout: 1000 });
31+
execSync(`rmdir /q /s ${pathname}`, { timeout: 1000 });
3232
} catch (e) {
3333
// Attempt failed. Log and carry on.
3434
debug(e);

0 commit comments

Comments
 (0)