From 2f58956b2523417e590b71db5325011baf5d6d3f Mon Sep 17 00:00:00 2001 From: Jithil P Ponnan Date: Wed, 15 Nov 2023 00:45:34 +1100 Subject: [PATCH] test: fix message v8 not normalising alphanumeric paths --- test/parallel/test-node-output-v8-warning.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-node-output-v8-warning.mjs b/test/parallel/test-node-output-v8-warning.mjs index 7278a03ce178e7..8e497739d21c70 100644 --- a/test/parallel/test-node-output-v8-warning.mjs +++ b/test/parallel/test-node-output-v8-warning.mjs @@ -13,6 +13,7 @@ describe('v8 output', { concurrency: true }, () => { .replaceAll(/:\d+/g, ':*') .replaceAll('/', '*') .replaceAll('*test*', '*') + .replaceAll(/.*?\*fixtures\*v8\*/g, '(node:*) V8: *') // Replace entire path before fixtures/v8 .replaceAll('*fixtures*v8*', '*') .replaceAll('node --', '* --'); }