Skip to content

Commit

Permalink
Fix a bug in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapvanEkris authored Nov 10, 2024
1 parent 0c5dcc4 commit 8a77335
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/engine/SessionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,9 @@ export function createSessionManager (config) {
metricsToEnrich.heartRateBatteryLevel = heartRateBatteryLevel // ToDo: REMOVE THIS INJECTION
}

function getMetrics () { // TESTING PURPOSSES ONLY!
enrichMetrics()
function getMetrics () {
// TESTING PURPOSSES ONLY!
enrichMetrics(metrics)
return metrics
}

Expand Down

0 comments on commit 8a77335

Please sign in to comment.