({ url, data, status })
| 14 | }; |
| 15 | |
| 16 | const post = async ({ url, data, status }) => { |
| 17 | return await request("localhost:3000") |
| 18 | .post(url) |
| 19 | .send(data) |
| 20 | .expect("Content-Type", /json/) |
| 21 | .expect(status); |
| 22 | }; |
| 23 | |
| 24 | const put = async ({ url, data, status }) => { |
| 25 | return await request("localhost:3000") |
no test coverage detected