(fixture)
| 133 | } |
| 134 | |
| 135 | async function planFixture(fixture) { |
| 136 | if (fixture.setup) await fixture.setup(); |
| 137 | const source = getSourceById(fixture.sourceId); |
| 138 | const plan = await source.backend.ai.planDataset(fixture.payload); |
| 139 | return { source, plan }; |
| 140 | } |
| 141 | |
| 142 | async function validateFixturePlan({ source, sourceId, payload, plan }) { |
| 143 | if (["googleAnalytics", "jira", "stripeOfficial"].includes(sourceId)) { |
no test coverage detected