File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
packages/pluggableWidgets/calendar-web/src/__tests__ Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,6 @@ import { ListValueBuilder } from "@mendix/widget-plugin-test-utils";
4
4
5
5
import Calendar from "../Calendar" ;
6
6
import { CalendarContainerProps } from "../../typings/CalendarProps" ;
7
-
8
- // We capture any existing value, switch to UTC, and restore the original value
9
- // when the suite finishes.
10
-
11
- const ORIGINAL_TZ = process . env . TZ ;
12
- process . env . TZ = "UTC" ;
13
-
14
7
const customViewProps : CalendarContainerProps = {
15
8
name : "calendar-test" ,
16
9
class : "calendar-class" ,
@@ -56,10 +49,6 @@ beforeAll(() => {
56
49
57
50
afterAll ( ( ) => {
58
51
jest . useRealTimers ( ) ;
59
-
60
- // Restore whatever time-zone the process was originally using so other
61
- // test files are unaffected.
62
- process . env . TZ = ORIGINAL_TZ ;
63
52
} ) ;
64
53
65
54
describe ( "Calendar" , ( ) => {
You can’t perform that action at this time.
0 commit comments