Mocking Date.now()
in a jest unit test.
jest
.spyOn(global.Date, 'now')
.mockImplementationOnce(() =>
new Date('2010-10-10T10:10:10.100Z').valueOf()
);
Mocking Date.now()
in a jest unit test.
jest
.spyOn(global.Date, 'now')
.mockImplementationOnce(() =>
new Date('2010-10-10T10:10:10.100Z').valueOf()
);
For further actions, you may consider blocking this person and/or reporting abuse
Sorry, it's true.
sakethk -
Vien Nguyen -
BERAT DΔ°NΓKAN -
Jose Restrepo -
Once suspended, feralamillo will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, feralamillo will be able to comment and publish posts again.
Once unpublished, all posts by feralamillo will become hidden and only accessible to themselves.
If feralamillo is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Feralamillo.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag feralamillo:
Unflagging feralamillo will restore default visibility to their posts.
Top comments (0)