summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-08-20 17:24:39 -0400
committerRich Trott <rtrott@gmail.com>2019-08-22 21:04:59 -0700
commit6c5ca74c9313e52cd5bba351d558f75240eb3fd6 (patch)
tree4c4eed9774547a0f0c58a63d3ccde5ee1004f7a9 /test
parentdb3fdfbcb68bb83fab9c0f3c9cb282e41297fa70 (diff)
downloadandroid-node-v8-6c5ca74c9313e52cd5bba351d558f75240eb3fd6.tar.gz
android-node-v8-6c5ca74c9313e52cd5bba351d558f75240eb3fd6.tar.bz2
android-node-v8-6c5ca74c9313e52cd5bba351d558f75240eb3fd6.zip
test: fix 'timeout' typos
I don't think so, Tim. PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test')
-rw-r--r--test/common/index.js2
-rw-r--r--test/common/tmpdir.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 13604d06e1..98a2687222 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -401,7 +401,7 @@ function canCreateSymLink() {
'System32', 'whoami.exe');
try {
- const output = execSync(`${whoamiPath} /priv`, { timout: 1000 });
+ const output = execSync(`${whoamiPath} /priv`, { timeout: 1000 });
return output.includes('SeCreateSymbolicLinkPrivilege');
} catch {
return false;
diff --git a/test/common/tmpdir.js b/test/common/tmpdir.js
index c66756e21b..16d375afff 100644
--- a/test/common/tmpdir.js
+++ b/test/common/tmpdir.js
@@ -29,7 +29,7 @@ function rimrafSync(pathname, { spawn = true } = {}) {
if (spawn && process.platform === 'win32' && st.isDirectory()) {
try {
// Try `rmdir` first.
- execSync(`rmdir /q /s ${pathname}`, { timout: 1000 });
+ execSync(`rmdir /q /s ${pathname}`, { timeout: 1000 });
} catch (e) {
// Attempt failed. Log and carry on.
debug(e);