(id: string, confidence: IntegrationDetectionResult["confidence"])
| 157 | }))(); |
| 158 | |
| 159 | const detector = (id: string, confidence: IntegrationDetectionResult["confidence"]) => |
| 160 | definePlugin(() => ({ |
| 161 | id, |
| 162 | storage: () => ({}), |
| 163 | detect: () => |
| 164 | Effect.succeed( |
| 165 | IntegrationDetectionResult.make({ |
| 166 | kind: id, |
| 167 | confidence, |
| 168 | endpoint: `https://example.com/${id}`, |
| 169 | name: id, |
| 170 | slug: id, |
| 171 | }), |
| 172 | ), |
| 173 | }))(); |
| 174 | |
| 175 | describe("createExecutor", () => { |
| 176 | it.effect("rolls back plugin and core writes from ctx.transaction failures", () => |
no test coverage detected