• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nhsuk / moment-opening-times
91%
master: 99%

Build:
Build:
LAST BUILD BRANCH: greenkeeper/eslint-6.7.2
DEFAULT BRANCH: master
Repo Added 14 Sep 2016 02:15PM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/exceptional-times
branch: feature/exceptional-times
CHANGE BRANCH
x
Reset
  • feature/exceptional-times
  • 0.2.2
  • 0.2.5
  • 1.0.0
  • 1.1.0
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.1.0
  • 2.2.0
  • 2.3.0
  • 2.4.0
  • 2.5.0
  • 2.5.1
  • 2.6.0
  • 2.7.0
  • 2.8.0
  • 2.9.0
  • add-usage-to-readme
  • experimental/pre-refactor
  • experimental/simple-alterations
  • feature/2.3.0
  • feature/2.4.0
  • feature/add-parsers
  • feature/change-opening-times-format
  • feature/change-opening-times-format2
  • feature/code-coverage
  • feature/github-actions
  • feature/grace-period
  • feature/let-some-space-in
  • feature/npm-publish
  • feature/performance-improvements
  • feature/performance-improvements-hash-lookup
  • feature/pre-parser
  • feature/pre-parser2
  • feature/publish-to-npm
  • feature/refactor-to-map-reduce
  • feature/refactor-to-map-reduce2
  • feature/release-badge
  • feature/remove-past-alterations
  • feature/remove-syndication-parser
  • feature/remove-synk
  • feature/remove-time-zone
  • feature/snyk
  • feature/specify-opening-times-format
  • feature/stash-before-test
  • feature/tweaks
  • feature/update-deps
  • feature/validate-parameters
  • feature/yarn
  • fix/airbnb-update
  • fix/bump-version-number
  • fix/bust-link
  • fix/closed-all-week-message
  • fix/handle-closed-all-week
  • fix/investigate-failing-build
  • fix/isopen-check-after-midnight
  • fix/prepublish
  • fix/remove-incorrect-wording
  • fix/typo-in-tests
  • fix/use-moment-days-of-week
  • greenkeeper/coveralls-3.0.0
  • greenkeeper/coveralls-3.0.3
  • greenkeeper/eslint-5.0.0
  • greenkeeper/eslint-5.0.1
  • greenkeeper/eslint-5.12.1
  • greenkeeper/eslint-5.13.0
  • greenkeeper/eslint-5.14.0
  • greenkeeper/eslint-5.14.1
  • greenkeeper/eslint-5.15.0
  • greenkeeper/eslint-5.15.1
  • greenkeeper/eslint-5.15.2
  • greenkeeper/eslint-5.15.3
  • greenkeeper/eslint-5.16.0
  • greenkeeper/eslint-6.5.1
  • greenkeeper/eslint-6.6.0
  • greenkeeper/eslint-6.7.0
  • greenkeeper/eslint-6.7.1
  • greenkeeper/eslint-6.7.2
  • greenkeeper/eslint-config-airbnb-base-12.0.0
  • greenkeeper/eslint-config-nhsuk-0.10.0
  • greenkeeper/eslint-config-nhsuk-0.11.0
  • greenkeeper/eslint-config-nhsuk-0.14.0
  • greenkeeper/eslint-config-nhsuk-0.15.0
  • greenkeeper/eslint-config-nhsuk-0.6.0
  • greenkeeper/eslint-config-nhsuk-0.7.0
  • greenkeeper/eslint-config-nhsuk-0.8.0
  • greenkeeper/eslint-config-nhsuk-0.9.0
  • greenkeeper/eslint-plugin-import-2.15.0
  • greenkeeper/eslint-plugin-import-2.16.0
  • greenkeeper/eslint-plugin-import-2.17.0
  • greenkeeper/eslint-plugin-import-2.17.1
  • greenkeeper/eslint-plugin-import-2.17.2
  • greenkeeper/eslint-plugin-json-1.3.0
  • greenkeeper/eslint-plugin-json-1.3.1
  • greenkeeper/eslint-plugin-json-1.3.2
  • greenkeeper/eslint-plugin-json-1.4.0
  • greenkeeper/eslint-plugin-json-2.0.0
  • greenkeeper/eslint-plugin-json-2.0.1
  • greenkeeper/eslint-plugin-mocha-5.0.0
  • greenkeeper/eslint-plugin-mocha-5.2.1
  • greenkeeper/eslint-plugin-mocha-5.3.0
  • greenkeeper/eslint-plugin-mocha-6.2.0
  • greenkeeper/eslint-plugin-mocha-6.2.1
  • greenkeeper/eslint-plugin-mocha-6.2.2
  • greenkeeper/eslint-watch-4.0.0
  • greenkeeper/eslint-watch-4.0.1
  • greenkeeper/eslint-watch-4.0.2
  • greenkeeper/eslint-watch-5.0.0
  • greenkeeper/eslint-watch-5.0.1
  • greenkeeper/husky-1.0.0
  • greenkeeper/husky-1.0.1
  • greenkeeper/husky-1.1.0
  • greenkeeper/husky-1.1.1
  • greenkeeper/husky-1.1.2
  • greenkeeper/husky-1.1.3
  • greenkeeper/husky-1.1.4
  • greenkeeper/husky-1.2.0
  • greenkeeper/husky-1.2.1
  • greenkeeper/husky-1.3.0
  • greenkeeper/husky-1.3.1
  • greenkeeper/husky-3.0.8
  • greenkeeper/husky-3.0.9
  • greenkeeper/husky-3.1.0
  • greenkeeper/initial
  • greenkeeper/mocha-4.0.0
  • greenkeeper/mocha-5.0.0
  • greenkeeper/mocha-6.0.1
  • greenkeeper/mocha-6.0.2
  • greenkeeper/mocha-6.1.0
  • greenkeeper/mocha-6.1.1
  • greenkeeper/mocha-6.1.2
  • greenkeeper/mocha-6.1.3
  • greenkeeper/mocha-6.1.4
  • greenkeeper/mocha-6.2.2
  • greenkeeper/moment-timezone-0.5.22
  • greenkeeper/moment-timezone-0.5.23
  • greenkeeper/moment-timezone-0.5.24
  • greenkeeper/moment-timezone-0.5.25
  • greenkeeper/moment-timezone-0.5.27
  • greenkeeper/update-all
  • master
  • refs/tags/2.10.0
  • release/2.0.1
  • release/2.0.2

pending completion
89

push

travis-ci

neilbmclaughlin
:fried_shrimp: Refactor to remove redundant code

Changed all 'date', 'datetime', 'dateTime' named variables to be
'moment' for consistency.

Extracted OpeningTimes constructor calls to method in tests with a view
to easily changing the signature.

85 of 93 relevant lines covered (91.4%)

142.71 hits per line

Relevant lines Covered
Build:
Build:
93 RELEVANT LINES 85 COVERED LINES
142.71 HITS PER LINE
Source Files on feature/exceptional-times
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
89 feature/exceptional-times :fried_shrimp: Refactor to remove redundant code Changed all 'date', 'datetime', 'dateTime' named variables to be 'moment' for consistency. Extracted OpeningTimes constructor calls to method in tests with a view to easily changing the signature. push 31 Oct 2016 09:22PM UTC neilbmclaughlin travis-ci pending completion  
88 feature/exceptional-times :1234: Increment minor version number push 28 Oct 2016 09:10AM UTC neilbmclaughlin travis-ci pending completion  
87 feature/exceptional-times :traffic_light: Add test - message with aterations push 28 Oct 2016 08:05AM UTC neilbmclaughlin travis-ci pending completion  
86 feature/exceptional-times :bug: Fix time zone not being set This was causing a failing test on the build server due to time zone differences between dev machines and build server. Added TZ to test command to ensure these classes of problems are caught on dev environments push 27 Oct 2016 08:41PM UTC neilbmclaughlin travis-ci pending completion  
85 feature/exceptional-times :bug: Fix time zone not being set This was causing a failing test on the build server due to time zone differences between dev machines and build server. Added TZ to test command to ensure these classes of problems are caught on dev environments push 27 Oct 2016 08:38PM UTC neilbmclaughlin travis-ci pending completion  
84 feature/exceptional-times :bug: Fix time zone not being set This was causing a failing test on the build server due to time zone differences between dev machines and build server. Added TZ to test command to ensure these classes of problems are caught on dev environments push 27 Oct 2016 08:33PM UTC neilbmclaughlin travis-ci pending completion  
83 feature/exceptional-times :left_right_arrow: Alterations for next Open/Close Make nextOpen and nextClose take alterations into account. push 27 Oct 2016 05:43PM UTC neilbmclaughlin travis-ci pending completion  
82 feature/exceptional-times :clock12: Handle alterations which span midnight push 27 Oct 2016 10:55AM UTC neilbmclaughlin travis-ci pending completion  
80 feature/exceptional-times :exclamation: Handle simple bank holiday hours push 25 Oct 2016 08:45PM UTC neilbmclaughlin travis-ci pending completion  
See All Builds (357)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc