()
| 309 | } |
| 310 | |
| 311 | export function getMockAggregatedIssue(): sinon.SinonStubbedInstance<DevTools.AggregatedIssue> { |
| 312 | const mockAggregatedIssue = sinon.createStubInstance( |
| 313 | DevTools.AggregatedIssue, |
| 314 | ); |
| 315 | mockAggregatedIssue.getAllIssues.returns([]); |
| 316 | return mockAggregatedIssue; |
| 317 | } |
| 318 | |
| 319 | export function mockListener() { |
| 320 | const listeners: Record<string, Array<(data: unknown) => void>> = {}; |
no outgoing calls
no test coverage detected