Unverified Commit 16c7ed28 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Tests: Reduce loglines from apply patch delay (#88224)

Apply #83800 without merge conflicts.
parent 5876248b
......@@ -150,7 +150,7 @@ export class NextDevInstance extends NextInstance {
}
}
console.log('running', shellQuote(startArgs))
require('console').log('running', shellQuote(startArgs))
await new Promise<void>((resolve, reject) => {
try {
this.childProcess = spawn(startArgs[0], startArgs.slice(1), {
......@@ -291,7 +291,7 @@ export class NextDevInstance extends NextInstance {
}
if (this.patchFileDelay > 0) {
console.warn(
require('console').warn(
`Applying patch delay of ${this.patchFileDelay}ms. Note: Introducing artificial delays is generally discouraged, as it may affect test reliability. However, this delay is configurable on a per-test basis.`
)
await waitFor(this.patchFileDelay)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment