Skip to content

Commit f0574fd

Browse files
lpincaaduh95
authored andcommitted
test: use the skipIfNoWatch() utility function
Use the `skipIfNoWatch()` utility function in `test/parallel/test-fs-promises-watch-iterator.js`. PR-URL: #61531 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 4998f53 commit f0574fd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/parallel/parallel.status

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ test-esm-loader-hooks-inspect-wait: PASS, FLAKY
112112
test-child-process-fork-net-server: SKIP
113113
test-cli-node-options: SKIP
114114
test-cluster-shared-leak: SKIP
115-
test-fs-promises-watch-iterator: SKIP
116115
test-http-writable-true-after-close: SKIP
117116
test-http2-connect-method: SKIP
118117
test-net-error-twice: SKIP

test/parallel/test-fs-promises-watch-iterator.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ const fs = require('fs');
99
const assert = require('assert');
1010
const { join } = require('path');
1111
const { setTimeout } = require('timers/promises');
12+
const { skipIfNoWatch } = require('../common/watch');
1213
const tmpdir = require('../common/tmpdir');
1314

15+
skipIfNoWatch();
16+
1417
class WatchTestCase {
1518
constructor(dirName, files) {
1619
this.dirName = dirName;

0 commit comments

Comments
 (0)