(code: string)
| 52 | }); |
| 53 | |
| 54 | const createTestFunction = (code: string) => { |
| 55 | return service.createFunction({ |
| 56 | slug: 'test-function', |
| 57 | name: 'Test Function', |
| 58 | code, |
| 59 | status: 'active', |
| 60 | }); |
| 61 | }; |
| 62 | |
| 63 | const mockSuccessfulCreate = () => { |
| 64 | mockClient.query.mockResolvedValueOnce({}); |
no test coverage detected