openfaas / of-watchdog

Reverse proxy for STDIO and HTTP microservices
MIT License
259 stars 115 forks source link

Add tests for bindLoggingPipe #127

Closed alexellis closed 2 years ago

alexellis commented 2 years ago

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com

Description

Add tests for bindLoggingPipe

Motivation and Context

Brings in a test from #107, further covering additional scenarios, without specifically breaking or making major changes to the bindLoggingPipe function.

How Has This Been Tested?

Unit tests added with a positive, negative and multi-line test-case.