diff --git a/test/test_page.js b/test/test_page.js index 4ee28d2..5661a99 100644 --- a/test/test_page.js +++ b/test/test_page.js @@ -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`); } @@ -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`);