Skip to content

Commit

Permalink
Dont wait for infinitusgo
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Tuyama committed May 3, 2020
1 parent 3eb0fb8 commit 5c5d34f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Page', () => {

it('should have target blank', () => {
links.each((i, link) => {
if (!link.attribs.href.match(/.*(resume|google|#).*/)) {
if (!link.attribs.href.match(/.*(resume|infinitusgo|google|#).*/)) {
// console.log(link.attribs.href);
assert.equal('_blank', link.attribs.target, `${link.attribs.href} should have target _blank`);
}
Expand All @@ -38,7 +38,7 @@ describe('Page', () => {

it('should be valid', () => {
links.each((i, link) => {
if (!link.attribs.href.match(/.*(resume|google|vigil|#).*/)) {
if (!link.attribs.href.match(/.*(resume|google|infinitusgo|vigil|#).*/)) {
urlExists(link.attribs.href, (err, exists) => {
if (err) throw err;
assert.equal(true, exists, `${link.attribs.href} no longer exists`);
Expand Down

0 comments on commit 5c5d34f

Please sign in to comment.