(id: string, confidence: IntegrationDetectionResult["confidence"])
| 142 | }))(); |
| 143 | |
| 144 | const detector = (id: string, confidence: IntegrationDetectionResult["confidence"]) => |
| 145 | definePlugin(() => ({ |
| 146 | id, |
| 147 | storage: () => ({}), |
| 148 | detect: () => |
| 149 | Effect.succeed( |
| 150 | IntegrationDetectionResult.make({ |
| 151 | kind: id, |
| 152 | confidence, |
| 153 | endpoint: `https://example.com/${id}`, |
| 154 | name: id, |
| 155 | slug: id, |
| 156 | }), |
| 157 | ), |
| 158 | }))(); |
| 159 | |
| 160 | describe("createExecutor", () => { |
| 161 | it.effect("rolls back plugin and core writes from ctx.transaction failures", () => |
no test coverage detected