Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Dec 26, 2024
1 parent 6c37e6f commit e035151
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test-e2e.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)) ||
Expand Down

0 comments on commit e035151

Please sign in to comment.