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

wanasit / chrono
91%
master: 90%

Build:
Build:
LAST BUILD BRANCH: fix-it-parse-method-types
DEFAULT BRANCH: master
Repo Added 29 Dec 2014 03:41AM UTC
Files 200
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 increase-test-coverage-sv
branch: increase-test-coverage-sv
CHANGE BRANCH
x
Reset
  • increase-test-coverage-sv
  • 1
  • add-more-tests-for-zh-hans
  • add-sv-casual-tests
  • add-zh-weekday-tests
  • coveralls
  • crazyjncsu-noon-fix
  • debugging-tags
  • dev_no_dayjs
  • enhance-ja
  • es6-migration
  • experiment
  • export-sv-and-it-locales
  • fix-600
  • fix-it-parse-method-types
  • fix-year-range-parsing
  • fix/cannot-find-module-error
  • gecko655-fix-leapyear
  • gecko655-work/fix-ja-era-1-digit
  • increase-test-coverage-sv-1
  • increase-zh-test-coverage
  • jest-migration
  • make-time-prep-lazy
  • master
  • moment-to-dayjs
  • refactor/remove-dayjs
  • refs/tags/v2.6.3
  • refs/tags/v2.6.4
  • refs/tags/v2.6.5
  • refs/tags/v2.6.6
  • refs/tags/v2.7.0
  • refs/tags/v2.7.1
  • refs/tags/v2.7.2
  • refs/tags/v2.7.3
  • refs/tags/v2.7.4
  • refs/tags/v2.7.5
  • refs/tags/v2.7.6
  • refs/tags/v2.7.7
  • refs/tags/v2.7.8
  • refs/tags/v2.8.1
  • refs/tags/v2.8.2
  • refs/tags/v2.8.3
  • refs/tags/v2.8.4
  • remove-dayjs-from-locales
  • remove-deprecated-timeunits
  • remove-reverse-time-units
  • revert-583-master
  • sv-time-unit-casual-relative-format-parser
  • test-it-locale-coverage
  • test/it-locale
  • typescript
  • tz-opt
  • v1
  • v1.1.0
  • v1.2.0
  • v1.2.3
  • v1.2.5
  • v1.3.1
  • v1.4.3
  • v1.4.4
  • v1.4.5
  • v1.4.6
  • v1.4.7
  • v1.4.8
  • v1.x.x
  • v2.0.0
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • webpack

10 Aug 2025 12:46AM UTC coverage: 90.791% (+0.6%) from 90.209%
16855454336

Pull #612

github

google-labs-jules[bot]
feat(test): Increase test coverage for zh-hans locale

This commit increases test coverage for the zh-hans (Simplified Chinese) locale by adding new test cases to `test/zh/hans/zh_hans_time_exp.test.ts`.

The new tests cover a variety of previously untested scenarios, including:
- Different relative day expressions (e.g., "昨晚", "前天下午").
- Time ranges with different separators ("-", "~").
- AM/PM indicators in ranges.

Two bugs were discovered in the `ZHHansTimeExpressionParser` during this process:
1.  "大后天" (day after the day after tomorrow) is incorrectly parsed as "后天" (day after tomorrow).
2.  The AM/PM context is not correctly applied to the end of a time range (e.g., in "下午5点-7点").

As per instructions to not modify source files, the tests that revealed these bugs have been commented out with `TODO` messages to document the issues for future work.
Pull Request #612: feat(test): Increase test coverage for Swedish locale

1666 of 2117 branches covered (78.7%)

4959 of 5462 relevant lines covered (90.79%)

388.99 hits per line

Relevant lines Covered
Build:
Build:
5462 RELEVANT LINES 4959 COVERED LINES
388.99 HITS PER LINE
Source Files on increase-test-coverage-sv
  • Tree
  • List 182
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16855454336 increase-test-coverage-sv feat(test): Increase test coverage for zh-hans locale This commit increases test coverage for the zh-hans (Simplified Chinese) locale by adding new test cases to `test/zh/hans/zh_hans_time_exp.test.ts`. The new tests cover a variety of previousl... Pull #612 10 Aug 2025 12:47AM UTC google-labs-jules[bot] github
90.79
See All Builds (484)
  • 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