ade362e515
closes CORE-2329 There were some tests that were expecting a snapshot-like value where it expected `new Date().toLocaleDateString()` to give something Like “2016-7-11” but that was actually wrong. If you do `new Date().toLocaleDateString()` in a browser it will give you something like “7/11/2016”. And this new version of node matches what a real browser would have done, so I just updated the specs so they are looking for the correct format. This change does not actually reflect a change in what a real user would see. Just what jest/jsdom/node formats it as. Test Plan: - check to make sure that the assignments 2 availability dates component produces markup exactly as it did before - Automated tests pass - Build canvas locally, everything passes. - Build canvas with docker, everything passes. Change-Id: I74285cd6d9b251ca60ab79396e332cc3a419bcee Reviewed-on: https://gerrit.instructure.com/177198 Tested-by: Jenkins Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com> QA-Review: Brent Burgoyne <bburgoyne@instructure.com> Product-Review: Brent Burgoyne <bburgoyne@instructure.com> Product-Review: Ryan Shaw <ryan@instructure.com> |
||
---|---|---|
.. | ||
Dockerfile |