Skip to content

Commit

Permalink
adjust unit tests to new link format
Browse files Browse the repository at this point in the history
  • Loading branch information
elrido committed Jun 7, 2020
1 parent 5450a43 commit 8fcc321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/test/Helper.js
Expand Up @@ -125,7 +125,7 @@ describe('Helper', function () {
let result = e.html();
clean();
url = $('<div />').text(url).html();
return $('<div />').text(prefix).html() + '<a href="' + url + '" rel="nofollow noopener noreferrer">' + url + '</a>' + $('<div />').text(postfix).html() === result;
return $('<div />').text(prefix).html() + '<a href="' + url + '" target="_blank" rel="nofollow noopener noreferrer">' + url + '</a>' + $('<div />').text(postfix).html() === result;
}
);
jsc.property(
Expand All @@ -145,7 +145,7 @@ describe('Helper', function () {
let result = e.html();
clean();
url = $('<div />').text(url).html();
return $('<div />').text(prefix).html() + '<a href="' + url + '" rel="nofollow noopener noreferrer">' + url + '</a>' + $('<div />').text(postfix).html() === result;
return $('<div />').text(prefix).html() + '<a href="' + url + '" target="_blank" rel="nofollow noopener noreferrer">' + url + '</a>' + $('<div />').text(postfix).html() === result;
}
);
});
Expand Down

0 comments on commit 8fcc321

Please sign in to comment.