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