1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix unused var and pseudorandom warnings

This commit is contained in:
Bill Thornton 2025-03-27 12:15:56 -04:00
parent 9077782c17
commit ad2472e90e
19 changed files with 31 additions and 30 deletions

View file

@ -678,6 +678,7 @@ describe('getDefaultBackgroundClass', () => {
});
test('randomization string provided', () => {
// eslint-disable-next-line sonarjs/pseudo-random
const generateRandomString = (stringLength: number): string => (Math.random() + 1).toString(36).substring(stringLength);
for (let i = 0; i < 100; i++) {