alex@cannot-bind ‹ master ●● › : ~/Development/pump.io [0] % cd ../stratic-handle-offset alex@cannot-bind ‹ master ● › : ~/Development/stratic-handle-offset [0] % npm test > stratic-handle-offset@1.0.0 test /home/alex/Development/stratic-handle-offset > nyc -r lcov perjury test.js stratic-handle-offset module When we mock out Date#getTimezoneOffset it works: OK it behaves how we expect: OK When we mock out Date#getTimezoneOffset and we require the module it works: OK When we mock out Date#getTimezoneOffset and we require the module and we pass it a time object it works: OK it returns a moment object: OK the day is correct: OK the month is correct: OK the year is correct: OK SUMMARY Broken: 0 Successes: 8 Failures: 0