Skip to content

Commit 76cb04f

Browse files
committed
chore: update tests
1 parent 5531f2c commit 76cb04f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/components/timeline/__snapshots__/index.test.tsx.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ Object {
1515
class="sc-dkzDqf bqgjsq"
1616
>
1717
<div
18-
aria-label="From Tuesday, January 01, 2019 To Tuesday, January 24, 2023"
18+
aria-label="From Tuesday, January 01, 2019 To Sunday, April 14, 2024"
1919
class="sc-hKMtZM VwYTb"
2020
format="only-number"
2121
lang="en"
2222
>
2323
<time
2424
aria-hidden="true"
25-
datetime="1/24/2023"
25+
datetime="4/14/2024"
2626
>
27-
2023
27+
2024
2828
</time>
2929
<span
3030
aria-hidden="true"
@@ -87,16 +87,16 @@ Object {
8787
class="sc-dkzDqf bqgjsq"
8888
>
8989
<div
90-
aria-label="From Tuesday, January 01, 2019 To Tuesday, January 24, 2023"
90+
aria-label="From Tuesday, January 01, 2019 To Sunday, April 14, 2024"
9191
class="sc-hKMtZM VwYTb"
9292
format="only-number"
9393
lang="en"
9494
>
9595
<time
9696
aria-hidden="true"
97-
datetime="1/24/2023"
97+
datetime="4/14/2024"
9898
>
99-
2023
99+
2024
100100
</time>
101101
<span
102102
aria-hidden="true"

tests/helpers/transform-date.helper.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ describe('transformDate helper', () => {
221221
};
222222

223223
const result = transformDate(config);
224-
expect(result).toBe('12.2020');
224+
expect(result).toBe('12/2020');
225225
});
226226

227227
test('type: short, withoutDay: false', () => {
@@ -548,7 +548,7 @@ describe('getAccessibilityDate helper', () => {
548548
};
549549

550550
const result = getAccessibilityDate(config);
551-
expect(result).toBe('12.2020');
551+
expect(result).toBe('12/2020');
552552
});
553553

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

0 commit comments

Comments
 (0)