(id)
| 23 | } |
| 24 | |
| 25 | function mockStopEndpoint(id) { |
| 26 | const spy = sinon.spy(function () { |
| 27 | return [200]; |
| 28 | }); |
| 29 | axiosMock.onPost('executions/stop/' + id).reply(spy); |
| 30 | return spy; |
| 31 | } |
| 32 | |
| 33 | function mockExecutionStatus(id, status) { |
| 34 | const spy = sinon.spy(function () { |
no outgoing calls
no test coverage detected