Skip to content

Commit

Permalink
fix(link): test inner anchor attribute by accessing via focusElement
Browse files Browse the repository at this point in the history
  • Loading branch information
simshanith authored and Westbrook committed Jul 27, 2020
1 parent bb633c0 commit f4e97a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/link/test/link.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('Link', () => {

await elementUpdated(el);
expect(el).to.not.be.undefined;
expect(el.getAttribute('rel')).to.eq('external');
expect(el.focusElement.getAttribute('rel')).to.eq('external');

await expect(el).to.be.accessible();
});
Expand Down

0 comments on commit f4e97a1

Please sign in to comment.