Skip to content

Commit

Permalink
issue-41925 fix: add test to verify fix for handling duplicate props
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaq Ibrahim committed Oct 30, 2022
1 parent aa2e7df commit 3f62800
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
@@ -0,0 +1,9 @@
import Link from 'next/link'

export default function Page() {
return (
<Link href="/about">
<a href="/about" className="some-class">Link</a>
</Link>
);
}
@@ -0,0 +1,9 @@
import Link from 'next/link'

export default function Page() {
return (
<Link href="/about" className="some-class">
Link
</Link>
);
}
Expand Up @@ -11,6 +11,7 @@ const fixtures = [
'spread-props',
'link-string',
'styled-jsx',
'handle-duplicate-props'
]

for (const fixture of fixtures) {
Expand Down

0 comments on commit 3f62800

Please sign in to comment.