MCPcopy Create free account
hub / github.com/ShipSecAI/studio / TestingWebhookService

Class TestingWebhookService

backend/src/testing/testing-webhook.service.ts:14–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13@Injectable()
14export class TestingWebhookService {
15 private readonly records: TestingWebhookRecord[] = [];
16
17 record(record: TestingWebhookRecord): TestingWebhookRecord {
18 this.records.push(record);
19 return record;
20 }
21
22 list(): TestingWebhookRecord[] {
23 return [...this.records];
24 }
25
26 latest(): TestingWebhookRecord | undefined {
27 return this.records.at(-1);
28 }
29
30 clear(): void {
31 this.records.length = 0;
32 }
33}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected