add playwright for e2e testing (#873)
This commit is contained in:
1 parent
c62e1a0eeb
commit
a9ee2ef9ae
10 files changed
+777
-54
No files matched your search
@@ -8,7 +8,6 @@ dayjs.extend(utc);
|
||||
const EXPECTED_DATE_STRING = "2021-06-20T11:59:59+02:00";
|
||||
|
||||
it("has the right utcOffset regardless of the local timeZone", async () => {
|
||||
expect(parseZone(EXPECTED_DATE_STRING).utcOffset()).toEqual(120);
|
||||
expect(parseZone(EXPECTED_DATE_STRING).format()).toEqual(EXPECTED_DATE_STRING);
|
||||
expect(dayjs(EXPECTED_DATE_STRING).format()).not.toEqual(EXPECTED_DATE_STRING);
|
||||
expect(parseZone(EXPECTED_DATE_STRING)?.utcOffset()).toEqual(120);
|
||||
expect(parseZone(EXPECTED_DATE_STRING)?.format()).toEqual(EXPECTED_DATE_STRING);
|
||||
});
|
||||
Reference in new issue
Block a user