This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
Tests for a middleware that consumes headers
Adds tests for headerAuthMiddleware
.
An example of testing a middleware and of mocking .get('header-name')
on Express requests.