File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -638,44 +638,6 @@ describe("Encoding entities", () => {
638
638
12321 ,
639
639
] ) ;
640
640
} ) ;
641
- it ( "Should return a ISO string if timezone support is disabled" , async ( ) => {
642
- const now = dayjs ( ) ;
643
- server . use (
644
- http . post (
645
- "http://ftrack.test/api" ,
646
- ( ) => {
647
- return HttpResponse . json ( [
648
- { ...queryServerInformation , is_timezone_support_enabled : false } ,
649
- querySchemas ,
650
- ] ) ;
651
- } ,
652
- { once : true } ,
653
- ) ,
654
- ) ;
655
- const timezoneDisabledSession = new Session (
656
- credentials . serverUrl ,
657
- credentials . apiUser ,
658
- credentials . apiKey ,
659
- {
660
- autoConnectEventHub : false ,
661
- } ,
662
- ) ;
663
- await timezoneDisabledSession . initializing ;
664
-
665
- //@ts -ignore - Otherwise internal method used for testing purposes
666
- const output = timezoneDisabledSession . encode ( [
667
- { foo : now , bar : "baz" } ,
668
- 12321 ,
669
- ] ) ;
670
-
671
- expect ( output ) . toEqual ( [
672
- {
673
- foo : now . utc ( ) . toISOString ( ) ,
674
- bar : "baz" ,
675
- } ,
676
- 12321 ,
677
- ] ) ;
678
- } ) ;
679
641
680
642
describe ( "Decoding entities" , ( ) => {
681
643
it ( "Should support merging 0-level nested data" , async ( ) => {
You can’t perform that action at this time.
0 commit comments