Skip to content

Commit

Permalink
chore: do not expect error when assigning string date
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Dec 6, 2022
1 parent d0607d5 commit d5789b1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ describe('EntityAssignerMySql', () => {
expect(god.createdAt).toEqual(new Date('2018-01-01'));

const d2 = +new Date('2018-01-01 00:00:00.123');
// @ts-expect-error
wrap(god).assign({ createdAt: '' + d2 });
expect(god.createdAt).toEqual(new Date('2018-01-01 00:00:00.123'));

Expand Down

0 comments on commit d5789b1

Please sign in to comment.