summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-watch-encoding.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-watch-encoding.js')
-rw-r--r--test/parallel/test-fs-watch-encoding.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/parallel/test-fs-watch-encoding.js b/test/parallel/test-fs-watch-encoding.js
index 04f5ffaad9..b9488f7a7f 100644
--- a/test/parallel/test-fs-watch-encoding.js
+++ b/test/parallel/test-fs-watch-encoding.js
@@ -11,17 +11,16 @@
// On SmartOS, the watch events fire but the filename is null.
const common = require('../common');
-const fs = require('fs');
-const path = require('path');
// fs-watch on folders have limited capability in AIX.
// The testcase makes use of folder watching, and causes
// hang. This behavior is documented. Skip this for AIX.
-if (common.isAix) {
+if (common.isAix)
common.skip('folder watch capability is limited in AIX.');
- return;
-}
+
+const fs = require('fs');
+const path = require('path');
common.refreshTmpDir();