Skip to content

Commit a237893

Browse files
author
Mert Kirbuga
committed
Remove corresponding test
1 parent f71e035 commit a237893

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

test/session.test.ts

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -638,44 +638,6 @@ describe("Encoding entities", () => {
638638
12321,
639639
]);
640640
});
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-
});
679641

680642
describe("Decoding entities", () => {
681643
it("Should support merging 0-level nested data", async () => {

0 commit comments

Comments
 (0)