MCPcopy Create free account
hub / github.com/LeChatErrant/API-template / signup

Method signup

src/appRequester.ts:37–44  ·  view source on GitHub ↗
(user: any, statusCodeExpected = httpStatus.CREATED)

Source from the content-addressed store, hash-verified

35 }
36
37 async signup(user: any, statusCodeExpected = httpStatus.CREATED) {
38 const { body } = await this.request
39 .post('/users/signup')
40 .send(user)
41 .expect(statusCodeExpected);
42
43 return body;
44 }
45
46 async signin(user: any, statusCodeExpected = httpStatus.OK) {
47 const { body } = await this.request

Callers 3

userRoutes.tsFile · 0.80
user.spec.tsFile · 0.80
post.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected