mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 02:00:26 +00:00
chore: enable await-thenable
This commit is contained in:
@@ -450,7 +450,7 @@ describe("MatrixCryptoBootstrapper", () => {
|
||||
initiatedByMe: false,
|
||||
accept: vi.fn(async () => {}),
|
||||
};
|
||||
await listener?.(verificationRequest);
|
||||
listener?.(verificationRequest);
|
||||
|
||||
expect(deps.verificationManager.trackVerificationRequest).toHaveBeenCalledWith(
|
||||
verificationRequest,
|
||||
@@ -480,7 +480,7 @@ describe("MatrixCryptoBootstrapper", () => {
|
||||
initiatedByMe: false,
|
||||
accept: vi.fn(async () => {}),
|
||||
};
|
||||
await listener?.(verificationRequest);
|
||||
listener?.(verificationRequest);
|
||||
|
||||
expect(verificationRequest.accept).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user