mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 21:17:15 +03:00
Make reputation take into account self downvotes
This commit is contained in:
@@ -60,7 +60,7 @@ describe('getUserInfo', () => {
|
||||
done('Returned incorrect segmentCount "' + data.segmentCount + '"');
|
||||
} else if (data.ignoredSegmentCount !== 2) {
|
||||
done('Returned incorrect ignoredSegmentCount "' + data.ignoredSegmentCount + '"');
|
||||
} else if (Math.abs(data.reputation - -0.928) > 0.001) {
|
||||
} else if (data.reputation !== -2) {
|
||||
done('Returned incorrect reputation "' + data.reputation + '"');
|
||||
} else if (data.lastSegmentID !== "uuid000005") {
|
||||
done('Returned incorrect last segment "' + data.lastSegmentID + '"');
|
||||
|
||||
Reference in New Issue
Block a user