Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Tests for a middleware that consumes headers

Compare
Choose a tag to compare
@HugoDF HugoDF released this 17 Feb 19:58

Adds tests for headerAuthMiddleware.

An example of testing a middleware and of mocking .get('header-name') on Express requests.