Skip to content

Commit

Permalink
Update index.test.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
amoore108 committed Nov 5, 2024
1 parent 4f869e1 commit 8aaba38
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,21 @@ import withHashChangeHandler from '.';
const Fixture = withHashChangeHandler(() => (
<>
<a href="#section-1">Go to section 1</a>
<section id="section-1">Section 1</section>
<h2 id="section-1">Section 1</h2>
</>
));

const CyrillicFixture = withHashChangeHandler(() => (
<>
<a href="#Мирнија-сам-неко-брине-о-њој-док-је-у-школи">Go to section 1</a>
<section id="Мирнија-сам-неко-брине-о-њој-док-је-у-школи">
Section 1
</section>
<h2 id="Мирнија-сам-неко-брине-о-њој-док-је-у-школи">Section 1</h2>
</>
));

const HindiFixture = withHashChangeHandler(() => (
<>
<a href="#आंखों-के-सामने-छा-गया-था-अंधेरा">Go to section 1</a>
<section id="आंखों-के-सामने-छा-गया-था-अंधेरा">Section 1</section>
<h2 id="आंखों-के-सामने-छा-गया-था-अंधेरा">Section 1</h2>
</>
));

Expand Down

0 comments on commit 8aaba38

Please sign in to comment.