Skip to content

Commit f39a11a

Browse files
committed
test(calendar-web): add TZ to test script, update snapshot
1 parent 9d05f32 commit f39a11a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/pluggableWidgets/calendar-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"publish-marketplace": "rui-publish-marketplace",
4242
"release": "pluggable-widgets-tools release:web",
4343
"start": "pluggable-widgets-tools start:server",
44-
"test": "jest --projects jest.config.js",
44+
"test": "cross-env TZ=UTC jest --projects jest.config.js",
4545
"update-changelog": "rui-update-changelog-widget",
4646
"verify": "rui-verify-package-format"
4747
},

packages/pluggableWidgets/calendar-web/src/__tests__/__snapshots__/Calendar.spec.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ exports[`Calendar renders correctly with basic props 1`] = `
860860
</div>
861861
<div
862862
class="rbc-current-time-indicator"
863-
style="top: 58.333333333333336%;"
863+
style="top: 50%;"
864864
/>
865865
</div>
866866
<div
@@ -2721,7 +2721,7 @@ exports[`Calendar renders correctly with basic props 1`] = `
27212721
</div>
27222722
<div
27232723
class="rbc-current-time-indicator"
2724-
style="top: 58.333333333333336%;"
2724+
style="top: 50%;"
27252725
/>
27262726
</div>
27272727
<div

0 commit comments

Comments
 (0)