Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 21, 2023
1 parent 6eb369c commit 6057ff9
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default function Home() {
return (
<div data-test-id="1" data-custom="1a">
<div data-custom="2">
<h1 data-testid="3">Hello World!</h1>
</div>
</div>
)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default function Home() {
return <div data-test-id="1">

<div>

<h1 data-testid="3">Hello World!</h1>

</div>

</div>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default function Home() {
return (
<div data-test-id="1" data-custom="1a">
<div data-custom="2">
<h1 data-testid="3" nested={() => <div data-testid="4">nested</div>}>
Hello World!
</h1>
</div>
</div>
)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export default function Home() {
return <div data-custom="1a">

<div data-custom="2">

<h1 nested={()=><div>nested</div>}>

Hello World!

</h1>

</div>

</div>;
}

0 comments on commit 6057ff9

Please sign in to comment.