Created
November 8, 2017 20:39
-
-
Save strugee/0d0c9318aad381cd49d675379fb7d87b to your computer and use it in GitHub Desktop.
Sample Perjury output from stratic-handle-offset's test suite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alex@cannot-bind ‹ master ●● › : ~/Development/pump.io | |
[0] % cd ../stratic-handle-offset | |
alex@cannot-bind ‹ master ● › : ~/Development/stratic-handle-offset | |
[0] % npm test | |
> [email protected] 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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment