From 08ccfbd1b23220dac27e8c7ad2bb6a529016e1f4 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sat, 6 Nov 2021 10:06:29 +0100 Subject: [PATCH] test: disable warnings to fix flaky test Fixes: https://github.com/nodejs/node/issues/40738 --- .../esm_display_syntax_error_import_json_named_export.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/message/esm_display_syntax_error_import_json_named_export.mjs b/test/message/esm_display_syntax_error_import_json_named_export.mjs index 3b7c721daf1601..fc14340467856b 100644 --- a/test/message/esm_display_syntax_error_import_json_named_export.mjs +++ b/test/message/esm_display_syntax_error_import_json_named_export.mjs @@ -1,4 +1,4 @@ -// Flags: --experimental-json-modules +// Flags: --experimental-json-modules --no-warnings /* eslint-disable no-unused-vars */ import '../common/index.mjs'; import { ofLife } from '../fixtures/experimental.json' assert { type: 'json' };