Commit ab71c4cf authored by JJ Kasper's avatar JJ Kasper

update timeout

parent 75f60d92
...@@ -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 = 3000) { async function waitForPrompt(cp, rawAssertion, timeout = 10_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