e2e-test: ignore ESM Loader warning

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-26 11:59:17 +02:00
parent 1c3d6fa2b2
commit cbab1d1da8
+4
View File
@@ -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
);