Adds unit tests for types.Date, much like #2124, #2123, and #2121.
I've done some copy/pasting through these PRs, so this also updates a few typos from that process. types.Date is a little weirder since we can take numbers or Date objects for instantiation, but overall it has a similar structure.
Steps to validate locally
Since this is just adding tests, I'm going to merge it in once CI passes. yarn test should be all green.
What does this PR do and why?
Adds unit tests for
types.Date
, much like #2124, #2123, and #2121.I've done some copy/pasting through these PRs, so this also updates a few typos from that process.
types.Date
is a little weirder since we can take numbers or Date objects for instantiation, but overall it has a similar structure.Steps to validate locally
Since this is just adding tests, I'm going to merge it in once CI passes.
yarn test
should be all green.