Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Proskynete committed Apr 14, 2024
1 parent 5531f2c commit 76cb04f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tests/components/timeline/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ Object {
class="sc-dkzDqf bqgjsq"
>
<div
aria-label="From Tuesday, January 01, 2019 To Tuesday, January 24, 2023"
aria-label="From Tuesday, January 01, 2019 To Sunday, April 14, 2024"
class="sc-hKMtZM VwYTb"
format="only-number"
lang="en"
>
<time
aria-hidden="true"
datetime="1/24/2023"
datetime="4/14/2024"
>
2023
2024
</time>
<span
aria-hidden="true"
Expand Down Expand Up @@ -87,16 +87,16 @@ Object {
class="sc-dkzDqf bqgjsq"
>
<div
aria-label="From Tuesday, January 01, 2019 To Tuesday, January 24, 2023"
aria-label="From Tuesday, January 01, 2019 To Sunday, April 14, 2024"
class="sc-hKMtZM VwYTb"
format="only-number"
lang="en"
>
<time
aria-hidden="true"
datetime="1/24/2023"
datetime="4/14/2024"
>
2023
2024
</time>
<span
aria-hidden="true"
Expand Down
4 changes: 2 additions & 2 deletions tests/helpers/transform-date.helper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ describe('transformDate helper', () => {
};

const result = transformDate(config);
expect(result).toBe('12.2020');
expect(result).toBe('12/2020');
});

test('type: short, withoutDay: false', () => {
Expand Down Expand Up @@ -548,7 +548,7 @@ describe('getAccessibilityDate helper', () => {
};

const result = getAccessibilityDate(config);
expect(result).toBe('12.2020');
expect(result).toBe('12/2020');
});

test('language: tr, withoutDay: false', () => {
Expand Down

0 comments on commit 76cb04f

Please sign in to comment.