Skip to content

Commit 8c8d083

Browse files
committed
chore: update?
1 parent 1d6b65a commit 8c8d083

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/generateWithTZ.spec.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ const JP = 'Asia/Tokyo';
1414

1515
beforeEach(() => {
1616
MockDate.set(new Date());
17+
dayjs.tz.setDefault(CN);
18+
moment.tz.setDefault(CN);
1719
});
1820

1921
afterEach(() => {
2022
dayjs.tz.setDefault();
23+
moment.tz.setDefault();
2124
MockDate.reset();
2225
});
2326

0 commit comments

Comments
 (0)