From 957ba10102bd882f57841a73f071f3b330610335 Mon Sep 17 00:00:00 2001 From: Moshe Atlow Date: Wed, 3 May 2023 10:53:57 +0300 Subject: [PATCH] module: block requiring `test/reporters` without shcema --- lib/internal/bootstrap/realm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/bootstrap/realm.js b/lib/internal/bootstrap/realm.js index c8cdaeff7d369b..ecf2f7caed742a 100644 --- a/lib/internal/bootstrap/realm.js +++ b/lib/internal/bootstrap/realm.js @@ -132,6 +132,7 @@ const legacyWrapperList = new SafeSet([ // Modules that can only be imported via the node: scheme. const schemelessBlockList = new SafeSet([ 'test', + 'test/reporters', ]); // Modules that will only be enabled at run time. const experimentalModuleList = new SafeSet();