diff --git a/src/specificClass.js b/src/specificClass.js index 83991c8..c84f886 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -381,7 +381,7 @@ class Measurement { const lowPass = this.lowPassFilter(arr); // Apply low-pass filter const highPass = this.highPassFilter(arr); // Apply high-pass filter - return arr.map((val, idx) => lowPass + highPass - val).pop(); // Combine the filters + return arr.map((val, _idx) => lowPass + highPass - val).pop(); // Combine the filters } weightedMovingAverage(arr) { @@ -558,7 +558,7 @@ const configuration = { enabled: true, }, functionality: { - positionVsParent: "upstream" + positionVsParent: POSITIONS.UPSTREAM } };