(id: string, confidence: IntegrationDetectionResult["confidence"])
| 196 | }))(); |
| 197 | |
| 198 | const detector = (id: string, confidence: IntegrationDetectionResult["confidence"]) => |
| 199 | definePlugin(() => ({ |
| 200 | id, |
| 201 | storage: () => ({}), |
| 202 | detect: () => |
| 203 | Effect.succeed( |
| 204 | IntegrationDetectionResult.make({ |
| 205 | kind: id, |
| 206 | confidence, |
| 207 | endpoint: `https://example.com/${id}`, |
| 208 | name: id, |
| 209 | slug: id, |
| 210 | }), |
| 211 | ), |
| 212 | }))(); |
| 213 | |
| 214 | describe("createExecutor", () => { |
| 215 | it.effect("rolls back plugin and core writes from ctx.transaction failures", () => |
no test coverage detected