mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:30:43 +00:00
test: tighten matrix logger assertion
This commit is contained in:
@@ -1623,9 +1623,12 @@ describe("MatrixClient crypto bootstrapping", () => {
|
||||
debug?: (...args: unknown[]) => void;
|
||||
getChild?: (namespace: string) => unknown;
|
||||
} | null;
|
||||
expect(logger).not.toBeNull();
|
||||
expect(logger?.debug).toBeTypeOf("function");
|
||||
expect(logger?.getChild).toBeTypeOf("function");
|
||||
expect(logger).toEqual(
|
||||
expect.objectContaining({
|
||||
debug: expect.any(Function),
|
||||
getChild: expect.any(Function),
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
it("passes a custom sync filter to matrix-js-sdk startup", async () => {
|
||||
|
||||
Reference in New Issue
Block a user