mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:00:44 +00:00
test: speed extension and contract scenarios
This commit is contained in:
@@ -318,6 +318,14 @@ describe("matrix thread bindings", () => {
|
||||
|
||||
await vi.advanceTimersByTimeAsync(61_000);
|
||||
|
||||
await vi.waitFor(
|
||||
() => expect(sendMessageMatrixMock.mock.calls.length).toBeGreaterThanOrEqual(2),
|
||||
{
|
||||
interval: 1,
|
||||
timeout: 1_000,
|
||||
},
|
||||
);
|
||||
|
||||
await vi.waitFor(
|
||||
async () => {
|
||||
const persistedRaw = await fs.readFile(resolveBindingsFilePath(), "utf-8");
|
||||
|
||||
Reference in New Issue
Block a user