From a111d6bcfe70f6fef65fee85e64715b60fffd954 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Mon, 2 Sep 2024 19:36:13 +0100 Subject: [PATCH] Additional best practices --- test/BeaconLrc.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/BeaconLrc.test.js b/test/BeaconLrc.test.js index f12b594..6ca8cde 100644 --- a/test/BeaconLrc.test.js +++ b/test/BeaconLrc.test.js @@ -83,7 +83,7 @@ describe('BeaconLrc', function() { }); it('should return correct distance', () => { - BeaconLrc.prototype._getElementDistance = function(element) { + BeaconLrc.prototype._getElementDistance = function() { return 300; // Mocked distance updated to 300 for this test }; const distance = beaconLrc._getElementDistance(mockElement);