Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing "just now" test #2

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

iamstolis
Copy link
Contributor

The intention of the test is to create Date that is 10s after timestamp. Unfortunately, timestamp + 10000 does not do that. This expression is a string concatenation. You should convert the timestamp to number to create the expected Date.

@sebastiansandqvist sebastiansandqvist merged commit 2486786 into sebastiansandqvist:master Sep 21, 2017
@sebastiansandqvist
Copy link
Owner

Good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants