Created
August 22, 2018 00:18
-
-
Save mmassaki/1604e9dd7700f35fa697844ddb722b8d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| jest.mock('moment', () => { | |
| const moment = require.requireActual('moment'); | |
| return () => moment.utc('2018-08-22 00:07'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment