mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 15:24:58 +00:00
fix(test): align gateway and session spawn hook typings
This commit is contained in:
@@ -120,7 +120,7 @@ function expectErrorResultMessage(result: { details: unknown }, pattern: RegExp)
|
||||
}
|
||||
|
||||
function expectThreadBindFailureCleanup(
|
||||
details: { childSessionKey?: string },
|
||||
details: { childSessionKey?: string; error?: string },
|
||||
pattern: RegExp,
|
||||
): void {
|
||||
expect(details.error).toMatch(pattern);
|
||||
|
||||
Reference in New Issue
Block a user