MCPcopy Create free account
hub / github.com/adonisjs/session / assertSession

Method assertSession

src/plugins/japa/api_client.ts:61–61  ·  view source on GitHub ↗

* Assert session key-value pair exists

(key: string, value?: any)

Source from the content-addressed store, hash-verified

59 * Assert session key-value pair exists
60 */
61 assertSession(key: string, value?: any): void
62
63 /**
64 * Assert key is missing in session store

Callers 1

api_client.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected