Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Lauer committed Mar 15, 2021
1 parent 43bd612 commit c5d7f99
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/mockdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ export function set(date: string | number | Date): void {
// @ts-ignore
Date = MockDate;

if (date.valueOf) {
date = date.valueOf();
}

now = dateObj.valueOf();
}

Expand All @@ -77,4 +73,4 @@ export function reset(): void {
export default {
set,
reset,
}
}

0 comments on commit c5d7f99

Please sign in to comment.