From e035151556709ba005e4b3933de40004e3a165ac Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Thu, 26 Dec 2024 20:12:21 +0100 Subject: [PATCH] minor refactor --- test-e2e.config.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test-e2e.config.mjs b/test-e2e.config.mjs index ba6f2d9084..8fa71c1025 100644 --- a/test-e2e.config.mjs +++ b/test-e2e.config.mjs @@ -59,18 +59,25 @@ function tolerateError({ logSource, logText }) { [ // Error: [DocPress][Warning] prop `text` is deprecated 'prop `text` is deprecated', + // [11:00:51.986][/test/cjs/test-dev.test.ts][npm run dev][stderr] (node:3061) ExperimentalWarning: CommonJS module /home/runner/work/vike/vike/vike/dist/cjs/node/plugin/index.js is loading ES Module /home/runner/work/vike/vike/node_modules/.pnpm/vite@6.0.5_@types+node@20.13.0_terser@5.31.0_tsx@4.19.2/node_modules/vite/dist/node/index.js using require(). // Support for loading ES Module in require() is an experimental feature and might change at any time 'loading ES Module in require() is an experimental feature', + // (node:4188) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. 'The `punycode` module is deprecated.', + // (node:4117) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated. 'fs.Stats constructor is deprecated.', + // [15:31:51.518][/docs/.test-dev.test.ts][pnpm run dev][stderr] Cannot optimize dependency: @brillout/docpress/renderer/onRenderClient, present in 'optimizeDeps.include' 'Cannot optimize dependency: @brillout/docpress/renderer/onRenderClient', + // [21:29:57.330][/docs/.test-dev.test.ts][pnpm run dev][stderr] Cannot optimize dependency: @brillout/docpress/Layout, present in 'optimizeDeps.include' 'Cannot optimize dependency: @brillout/docpress/Layout', + 'The glob option "as" has been deprecated in favour of "query"', + // [vike][request(1)][Warning] The onBeforeRender() hook defined by /renderer/+onBeforeRender.js is slow: it's taking more than 4 seconds (https://vike.dev/hooksTimeout) "is slow: it's taking more than" ].some((t) => logText.includes(t)) ||