freetrade-io / ts-firebase-driver-testing

Swap out Firebase as a driver for in-process testing
MIT License
11 stars 1 forks source link

Fix performance logging showing negative numbers #127

Closed rorybainfreetrade closed 2 years ago

rorybainfreetrade commented 2 years ago

I removed Math.abs() usages when going through review feedback and merged some broken code just as Luke pointed out it was still broken.

I've verified this works now: image

I looked at adding tests for the values being positive, but we'd have to expose the jobs somehow, which I'm not sure is worth it for debug logging.