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