Skip to content
Snippets Groups Projects
  1. Jul 14, 2017
  2. Apr 19, 2016
    • jugglinmike's avatar
      Correct invalid tests for the Date constructor · cf68c3be
      jugglinmike authored
      The millisecond representation of a given Date instance is dependent on
      the local system's time zone settings. In order to pass consistently
      across contexts, tests for this value must take the system configuration
      into account.
      
      Introduce a test harness utility function to encapsulate these concerns.
      Re-use this function across all test files that assert the exact
      millisecond representation of Date instances.
      cf68c3be
Loading