tvkitchen / countertop

The entry point for developers who want to set up a TV Kitchen.
https://tv.kitchen
GNU Lesser General Public License v3.0
6 stars 2 forks source link

Winston outputs during tests #49

Closed slifty closed 4 years ago

slifty commented 4 years ago

Task

Description

We probably don't want this kind of output when running tests:

 ● Console

    console.log node_modules/winston/lib/winston/transports/console.js:79
      13:15:10 (info):  Starting ingestion from FullyImplementedIngestionEngine...

    console.log node_modules/winston/lib/winston/transports/console.js:79
      13:15:10 (info):  Starting ingestion from FullyImplementedIngestionEngine...

    console.log node_modules/winston/lib/winston/transports/console.js:79
      13:15:10 (info):  Ended ingestion from FullyImplementedIngestionEngine...

Relevant Resources / Research

We're using winston for logging, so we should be able to easily add conditional logging rules depending on whether tests are being run.

Related Issues

None