From cdab9e9959d1d170f8dac7186ba7f23c041136cc Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sat, 1 Jun 2024 01:32:16 +0100 Subject: [PATCH] Test: Document why cli-watch.js fails on Linux with Node.js 20.12 exactly This doesn't affect CI which uses a newer Node, but wikimedia/fresh is currently pinned to Node.js 20.12 and others may run into this as well. --- test/cli/cli-watch.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/cli/cli-watch.js b/test/cli/cli-watch.js index 86af9d3c8..0e13b307a 100644 --- a/test/cli/cli-watch.js +++ b/test/cli/cli-watch.js @@ -144,6 +144,9 @@ QUnit.module('CLI Watch', function (hooks) { assert.equal(result.stdout, expectedWatchOutput['add-file']); }); + // NOTE: This is known to fail on Linux with Node.js 20.12. + // The regression was fixed in Node.js 20.13. + // https://github.com/nodejs/node/issues/52018 QUnit.test('re-runs tests on file removed', async assert => { fixturify.writeSync(fixturePath, { 'foo.js': "QUnit.test('foo', function(assert) { assert.true(true); });",