Skip to content

Conversation

@mjimenezganan
Copy link

When a dataObserved is missing, method displayDate crashed. Two solutions incorporated, pick dateModified if available, and not include date information if missing.

It is not compared when dateModified is directly used (without invoking displayDate, but using moments.js directly. Not solved since intended behaviour might change, but avoiding an empty line if no such dateModified is still pending.

@coveralls
Copy link

coveralls commented Nov 18, 2019

Pull Request Test Coverage Report for Build 11

  • 15 of 23 (65.22%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+8.2%) to 38.532%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/js/main.js 15 23 65.22%
Totals Coverage Status
Change from base Build 7: 8.2%
Covered Lines: 281
Relevant Lines: 674

💛 - Coveralls

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.

3 participants