(id: string, confidence: IntegrationDetectionResult["confidence"])
| 132 | }))(); |
| 133 | |
| 134 | const detector = (id: string, confidence: IntegrationDetectionResult["confidence"]) => |
| 135 | definePlugin(() => ({ |
| 136 | id, |
| 137 | storage: () => ({}), |
| 138 | detect: () => |
| 139 | Effect.succeed( |
| 140 | IntegrationDetectionResult.make({ |
| 141 | kind: id, |
| 142 | confidence, |
| 143 | endpoint: `https://example.com/${id}`, |
| 144 | name: id, |
| 145 | slug: id, |
| 146 | }), |
| 147 | ), |
| 148 | }))(); |
| 149 | |
| 150 | describe("createExecutor", () => { |
| 151 | it.effect("rolls back plugin and core writes from ctx.transaction failures", () => |
no test coverage detected