Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 438 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 438 Bytes

Pino Logging test

This an example app to showcase Pino testing.

Before running the test we compile an example app. In the test we spawn a new child process for example app to be executed. Example app produces logs as stdout stream. We are listening for new data events and test if the logs meet our requirements in the test.

Usage

Install dependencies: npm i. Run the test: npm run test.