Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Oct 1, 2024
1 parent 7956513 commit 8d89732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/qwik/src/core/shared/shared-serialization.unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('shared-serialization', () => {
`
"
0 BigInt "12345678901234567890"
(26 chars)"
(27 chars)"
`
);
});
Expand Down Expand Up @@ -463,7 +463,7 @@ describe('shared-serialization', () => {
expect(url.toString()).toBe('http://example.com/');
});
it(title(TypeIds.Date), async () => {
const objs = await serialize(new Date(1234567890000));
const objs = await serialize(new Date('2020-01-02T12:34Z"'));
const date = deserialize(objs)[0] as Date;
expect(date).toBeInstanceOf(Date);
expect(date.toISOString()).toBe('2009-02-13T23:31:30.000Z');
Expand Down

0 comments on commit 8d89732

Please sign in to comment.