mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(tests): accept both cloudflared error message variants in tunnel test regex
This commit is contained in:
@@ -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\))/
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user