(id: string, confidence: IntegrationDetectionResult["confidence"])
| 113 | }))(); |
| 114 | |
| 115 | const detector = (id: string, confidence: IntegrationDetectionResult["confidence"]) => |
| 116 | definePlugin(() => ({ |
| 117 | id, |
| 118 | storage: () => ({}), |
| 119 | detect: () => |
| 120 | Effect.succeed( |
| 121 | IntegrationDetectionResult.make({ |
| 122 | kind: id, |
| 123 | confidence, |
| 124 | endpoint: `https://example.com/${id}`, |
| 125 | name: id, |
| 126 | slug: id, |
| 127 | }), |
| 128 | ), |
| 129 | }))(); |
| 130 | |
| 131 | describe("createExecutor", () => { |
| 132 | it.effect("rolls back plugin and core writes from ctx.transaction failures", () => |
no test coverage detected