Function
makeSubscriptionRow
(config: SimSubscriptionConfig, webhookId = 'wh-1')
Source from the content-addressed store, hash-verified
| 71 | } |
| 72 | |
| 73 | function makeSubscriptionRow(config: SimSubscriptionConfig, webhookId = 'wh-1') { |
| 74 | return { |
| 75 | webhook: { |
| 76 | id: webhookId, |
| 77 | workflowId: 'wf-subscriber', |
| 78 | blockId: 'block-1', |
| 79 | path: 'block-1', |
| 80 | provider: 'sim', |
| 81 | providerConfig: config, |
| 82 | isActive: true, |
| 83 | }, |
| 84 | workflow: { |
| 85 | id: 'wf-subscriber', |
| 86 | name: 'Subscriber', |
| 87 | workspaceId: 'ws-1', |
| 88 | }, |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | describe('pollNoActivityEvents', () => { |
| 93 | beforeEach(() => { |
Tested by
no test coverage detected