From bcdb38447f8f8d9e79e0192d9745979828ad6b6f Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Tue, 3 Feb 2026 10:12:13 +0100 Subject: [PATCH] test: use the skipIfNoWatch() utility function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the `skipIfNoWatch()` utility function in `test/parallel/test-fs-promises-watch-iterator.js`. PR-URL: https://github.com/nodejs/node/pull/61531 Reviewed-By: Juan José Arboleda --- test/parallel/parallel.status | 1 - test/parallel/test-fs-promises-watch-iterator.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index 3f7140a6076..73a866bbef8 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -112,7 +112,6 @@ test-esm-loader-hooks-inspect-wait: PASS, FLAKY test-child-process-fork-net-server: SKIP test-cli-node-options: SKIP test-cluster-shared-leak: SKIP -test-fs-promises-watch-iterator: SKIP test-http-writable-true-after-close: SKIP test-http2-connect-method: SKIP test-net-error-twice: SKIP diff --git a/test/parallel/test-fs-promises-watch-iterator.js b/test/parallel/test-fs-promises-watch-iterator.js index e7788201f06..4cd181abaf7 100644 --- a/test/parallel/test-fs-promises-watch-iterator.js +++ b/test/parallel/test-fs-promises-watch-iterator.js @@ -9,8 +9,11 @@ const fs = require('fs'); const assert = require('assert'); const { join } = require('path'); const { setTimeout } = require('timers/promises'); +const { skipIfNoWatch } = require('../common/watch'); const tmpdir = require('../common/tmpdir'); +skipIfNoWatch(); + class WatchTestCase { constructor(dirName, files) { this.dirName = dirName;