eugef / node-mocks-http

Mock 'http' objects for testing Express,js, Next.js and Koa routing functions
Other
755 stars 134 forks source link

What is an object hash? #214

Closed afrancht closed 4 years ago

afrancht commented 4 years ago

I'm not sure if you meant the cryptographic hash in such case we need to know the protocol. I'm trying to use cookies and I was wondering how I had to do the following:

const req = httpMocks.createRequest({cookies:  { cookieName: 'cookieValue'})

An example would be great! Thanks in advance.

github-actions[bot] commented 4 years ago

Stale issue message