From 968b870344ba483ee3abb0435029977c29247744 Mon Sep 17 00:00:00 2001 From: Jakob Kummerow Date: Mon, 11 May 2026 11:50:12 +0200 Subject: [PATCH] Drop test/parallel/test-node-output-v8-warning.mjs This test depends on warning messages produced by V8's special asm.js pipeline, which is about to be turned off. Since there is currently nothing else in V8 that emits similar warnings, this test is no longer useful. --- test/fixtures/v8/v8_warning.js | 19 ------------------- test/fixtures/v8/v8_warning.snapshot | 2 -- test/parallel/test-node-output-v8-warning.mjs | 15 --------------- 3 files changed, 36 deletions(-) delete mode 100644 test/fixtures/v8/v8_warning.js delete mode 100644 test/fixtures/v8/v8_warning.snapshot delete mode 100644 test/parallel/test-node-output-v8-warning.mjs diff --git a/test/fixtures/v8/v8_warning.js b/test/fixtures/v8/v8_warning.js deleted file mode 100644 index ab4d2bf305823f..00000000000000 --- a/test/fixtures/v8/v8_warning.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -require('../../common'); - -function AsmModule() { - 'use asm'; - - function add(a, b) { - a = a | 0; - b = b | 0; - - // Should be `return (a + b) | 0;` - return a + b; - } - - return { add: add }; -} - -AsmModule(); diff --git a/test/fixtures/v8/v8_warning.snapshot b/test/fixtures/v8/v8_warning.snapshot deleted file mode 100644 index 87c7c86b4fedeb..00000000000000 --- a/test/fixtures/v8/v8_warning.snapshot +++ /dev/null @@ -1,2 +0,0 @@ -(node:) V8: /test/fixtures/v8/v8_warning.js:13 Invalid asm.js: Invalid return type -(Use ` --trace-warnings ...` to show where the warning was created) diff --git a/test/parallel/test-node-output-v8-warning.mjs b/test/parallel/test-node-output-v8-warning.mjs deleted file mode 100644 index 43f6709dc248c7..00000000000000 --- a/test/parallel/test-node-output-v8-warning.mjs +++ /dev/null @@ -1,15 +0,0 @@ -import '../common/index.mjs'; -import * as fixtures from '../common/fixtures.mjs'; -import * as snapshot from '../common/assertSnapshot.js'; -import { describe, it } from 'node:test'; - -describe('v8 output', { concurrency: !process.env.TEST_PARALLEL }, () => { - const tests = [ - { name: 'v8/v8_warning.js' }, - ]; - for (const { name } of tests) { - it(name, async () => { - await snapshot.spawnAndAssert(fixtures.path(name), snapshot.defaultTransform); - }); - } -});