test: fix tag text
This commit is contained in:
parent
9075ed730c
commit
fdd18b8669
|
@ -37,10 +37,10 @@ test('External links, hashtags, and mentions have correct attributes', async t =
|
|||
.expect(nthAnchor(3).getAttribute('href')).eql('/tags/tag')
|
||||
.expect(nthAnchor(3).hasAttribute('rel')).notOk()
|
||||
.expect(nthAnchor(3).hasAttribute('target')).notOk()
|
||||
.expect(nthAnchor(4).getAttribute('href')).eql('/tags/anotherTag')
|
||||
.expect(nthAnchor(4).getAttribute('href')).eql('/tags/anothertag')
|
||||
.expect(nthAnchor(4).hasAttribute('rel')).notOk()
|
||||
.expect(nthAnchor(4).hasAttribute('target')).notOk()
|
||||
.expect(nthAnchor(5).getAttribute('href')).eql('/tags/yetAnotherTag')
|
||||
.expect(nthAnchor(5).getAttribute('href')).eql('/tags/yetanothertag')
|
||||
.expect(nthAnchor(5).hasAttribute('rel')).notOk()
|
||||
.expect(nthAnchor(5).hasAttribute('target')).notOk()
|
||||
.expect(nthAnchor(6).getAttribute('href')).eql('http://example.com')
|
||||
|
|
Loading…
Reference in New Issue