From 5d80005168f6b4883cc33ab5bbf315eb6fff5bdf Mon Sep 17 00:00:00 2001 From: Moshe Atlow Date: Fri, 16 Jun 2023 16:17:55 +0300 Subject: [PATCH] test: skip test-runner-watch-mode on IBMi --- 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,