Commit 7f789f4a authored by JJ Kasper's avatar JJ Kasper

more timeout

parent ab71c4cf
...@@ -9,7 +9,7 @@ function getPromptErrorDetails(rawAssertion, mostRecentChunk) { ...@@ -9,7 +9,7 @@ function getPromptErrorDetails(rawAssertion, mostRecentChunk) {
return `Waiting for:\n "${assertion}"\nmost recent chunk was:\n "${mostRecent}"` return `Waiting for:\n "${assertion}"\nmost recent chunk was:\n "${mostRecent}"`
} }
async function waitForPrompt(cp, rawAssertion, timeout = 10_000) { async function waitForPrompt(cp, rawAssertion, timeout = 30_000) {
let assertion let assertion
if (typeof rawAssertion === 'string') { if (typeof rawAssertion === 'string') {
assertion = (chunk) => chunk.includes(rawAssertion) assertion = (chunk) => chunk.includes(rawAssertion)
......
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