Skip to content

Commit 6c5ca74

Browse files
cjihrigTrott
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 db3fdfb commit 6c5ca74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/common/index.js

Lines changed: 1 addition & 1 deletion
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

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

0 commit comments

Comments
 (0)