express
express copied to clipboard
test: enhance req.is() tests with additional cases
Basically, we support an array as an argument for req.is. This hasn’t been documented, and we should document it on the website.
Ref: https://github.com/expressjs/express/blob/8f21493cc57dc32fe059d47abb4210d5b383cc31/lib/request.js#L260