MCPcopy Create free account
hub / github.com/github/copilot-sdk / byMessage

Function byMessage

nodejs/test/e2e/session.e2e.test.ts:664–664  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

662 );
663
664 const byMessage = (msg: string) => events.find((e) => e.data?.message === msg)!;
665 expect(byMessage("Info message").type).toBe("session.info");
666 expect(byMessage("Info message").data).toEqual({
667 infoType: "notification",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…