Skip to content

Commit

Permalink
test: try to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Dec 13, 2021
1 parent 5f57e54 commit b3a3a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/helpers/to-resolved-date.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe(toResolvedDate.name, () => {
[new Date('2020-02-02'), new Date('2020-02-02')],
[new Date('2020-02-02').toJSON(), new Date('2020-02-02')],
[null, new Date(NaN)],
[undefined, toUTCDate(today.getUTCFullYear(), today.getUTCMonth(), today.getUTCDate())],
[undefined, toUTCDate(today.getFullYear(), today.getMonth(), today.getDate())],
];

cases.forEach((a) => {
Expand Down

0 comments on commit b3a3a53

Please sign in to comment.