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 <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 3c7a1a9 commit ff6330a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎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-
constoutput=execSync(`${whoamiPath} /priv`,{timout: 1000});
404+
constoutput=execSync(`${whoamiPath} /priv`,{timeout: 1000});
405405
returnoutput.includes('SeCreateSymbolicLinkPrivilege');
406406
}catch{
407407
returnfalse;

‎test/common/tmpdir.js‎

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