Skip to content

test: cover request header redaction - #72

Open
yowainwright wants to merge 1 commit into
pinojs:masterfrom
yowainwright:test/cover-request-header-redaction
Open

yowainwright wants to merge 1 commit into
pinojs:masterfrom
yowainwright:test/cover-request-header-redaction

Conversation

@yowainwright

@yowainwright yowainwright commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds coverage for request header redaction through koa-pino-logger.

Since koa-pino-logger passes options through to pino-http, this test verifies that redact ['req.headers.authorization'] redacts the logged request header as expected.

Thanks!

Jeff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant