From cbab1d1da8a7bf7b13c3015a2e7668f611a9742b Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 26 Sep 2023 11:59:17 +0200 Subject: [PATCH] e2e-test: ignore ESM Loader warning Signed-off-by: Patrik Oldsberg --- packages/e2e-test/src/commands/run.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index ba2d81d568..cf95f6856d 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -463,6 +463,10 @@ async function testBackendStart(appDir: string, ...args: string[]) { !l.includes('check the migration guide at https://a.co/7PzMCcy') && !l.includes( '(Use `node --trace-warnings ...` to show where the warning was created)', + ) && + !l.includes('Custom ESM Loaders is an experimental feature') && + !l.includes( + 'ExperimentalWarning: `globalPreload` is planned for removal', ), ).length !== 0 );