mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-19 21:58:08 -04:00
address unused variable lint
See: https://github.com/PrivateBin/PrivateBin/security/quality/rules/js%2Funused-local-variable
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ describe('Helper', function () {
|
||||
clean();
|
||||
urlString = $('<div />').text(urlString).html();
|
||||
const expected = $('<div />').text(prefix).html() + '<a href="' + urlString + '" target="_blank" rel="nofollow noopener noreferrer">' + urlString + '</a>' + $('<div />').text(postfix).html();
|
||||
return $('<div />').text(prefix).html() + '<a href="' + urlString + '" target="_blank" rel="nofollow noopener noreferrer">' + urlString + '</a>' + $('<div />').text(postfix).html() === result;
|
||||
return expected === result;
|
||||
}
|
||||
);
|
||||
jsc.property(
|
||||
|
||||
Reference in New Issue
Block a user