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

Method resetSession

src/appRequester.ts:33–35  ·  view source on GitHub ↗

* Reset the session and clear cookies

()

Source from the content-addressed store, hash-verified

31 * Reset the session and clear cookies
32 */
33 resetSession() {
34 this.request = supertest.agent(app);
35 }
36
37 async signup(user: any, statusCodeExpected = httpStatus.CREATED) {
38 const { body } = await this.request

Callers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected