We use:
https://github.com/Wylio/meteor-winston-papertrail/
And so we have log global across our code so we can just run log.info('message') wherever we like. However when trying to integrate jest testing this leads to errors of log not found. Any ideas how I can get around this @orangecms?
We have a lot of globals in our app and in many places we don't use import (old Meteor code style).
We use:
https://github.com/Wylio/meteor-winston-papertrail/
And so we have
logglobal across our code so we can just runlog.info('message')wherever we like. However when trying to integratejesttesting this leads to errors oflognot found. Any ideas how I can get around this @orangecms?We have a lot of globals in our app and in many places we don't use
import(old Meteor code style).