fix(tests): accept both cloudflared error message variants in tunnel test regex

This commit is contained in:
diegosouzapw
2026-04-11 12:28:35 -03:00
parent e89015649e
commit 12b895f94a

View File

@@ -344,7 +344,7 @@ test("startCloudflaredTunnel records an error state when the child exits before
assert.equal(state.status, "error");
assert.match(
state.lastError,
/(certificate signed by unknown authority|cloudflared exited unexpectedly \(1\))/
/(certificate signed by unknown authority|cloudflared exited (unexpectedly|before tunnel URL was ready) \(1\))/
);
});