Skip to content

Commit

Permalink
Additional best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Sep 2, 2024
1 parent e6c6ecd commit a111d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/BeaconLrc.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a111d6b

Please sign in to comment.