From c645ede76bcf3fb1818d21756dedd644f6d053ca Mon Sep 17 00:00:00 2001 From: Moshe Atlow Date: Wed, 21 Jun 2023 20:25:19 +0300 Subject: [PATCH] test: skip test-runner-watch-mode on IBMi PR-URL: https://github.com/nodejs/node/pull/48473 Reviewed-By: Luigi Pinca Reviewed-By: Nitzan Uziely Reviewed-By: Richard Lau --- test/parallel/test-runner-watch-mode.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-runner-watch-mode.mjs b/test/parallel/test-runner-watch-mode.mjs index 9f06335cd92785..0a577140db3075 100644 --- a/test/parallel/test-runner-watch-mode.mjs +++ b/test/parallel/test-runner-watch-mode.mjs @@ -1,5 +1,5 @@ // Flags: --expose-internals -import '../common/index.mjs'; +import * as common from '../common/index.mjs'; import path from 'node:path'; import { describe, it } from 'node:test'; import { spawn } from 'node:child_process'; @@ -7,6 +7,10 @@ import { writeFileSync } from 'node:fs'; import util from 'internal/util'; import tmpdir from '../common/tmpdir.js'; + +if (common.isIBMi) + common.skip('IBMi does not support `fs.watch()`'); + tmpdir.refresh(); // This test updates these files repeatedly,