MCPcopy Create free account
hub / github.com/axe-api/axe-api / patch

Function patch

packages/integrations/tests/helper.js:32–42  ·  view source on GitHub ↗
({ url, data, status })

Source from the content-addressed store, hash-verified

30};
31
32const patch = async ({ url, data, status }) => {
33 try {
34 return await request("localhost:3000")
35 .patch(url)
36 .send(data)
37 .expect("Content-Type", /json/)
38 .expect(status);
39 } catch (error) {
40 console.log(error);
41 }
42};
43
44const deleteIt = async ({ url, status }) => {
45 return await request("localhost:3000").delete(url).expect(status);

Callers 2

01-user.spec.jsFile · 0.90
02-post.spec.jsFile · 0.90

Calls 2

sendMethod · 0.80
patchMethod · 0.80

Tested by

no test coverage detected