(
item: { kind: string; displayText: string },
command: string
)
| 18 | } |
| 19 | |
| 20 | function isPendingCommand( |
| 21 | item: { kind: string; displayText: string }, |
| 22 | command: string |
| 23 | ): boolean { |
| 24 | return ( |
| 25 | item.kind === "command" && |
| 26 | (item.displayText === command || item.displayText.includes(command.replace(/^\//, ""))) |
| 27 | ); |
| 28 | } |
| 29 | |
| 30 | it("fresh queue is empty and empty mutations are no-ops", async () => { |
| 31 | const session = await client.createSession({ onPermissionRequest: approveAll }); |
no outgoing calls
no test coverage detected
searching dependent graphs…