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

rm-hull / calendar / 23121476595
90%

Build:
DEFAULT BRANCH: main
Ran 15 Mar 2026 11:08PM UTC
Jobs 1
Files 7
Run time 1min
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

15 Mar 2026 11:07PM UTC coverage: 89.51% (+87.1%) from 2.362%
23121476595

push

github

web-flow
test: add comprehensive test suite (#517)

* test: add comprehensive test suite

- Installed `@testing-library` and `jsdom` for component testing.
- Added unit tests for `calendar-utils` and service layers.
- Added component tests for `MonthCalendar` and `SettingsForm`.
- Configured Vitest to use `jsdom` environment.
- Refactored calendar logic into `src/calendar-utils.ts` for better
  testability.

* Update src/calendar-utils.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* test: configure jest-dom and update MonthCalendar tests

- Add `setupTests.ts` to globally import `jest-dom` matchers.
- Update `vite.config.ts` to include the setup file and enable globals.
- Refactor `MonthCalendar` tests to use `vi.mocked` for better type
safety.
- Update mock return values to match the `useGeneralSettings` hook
  signature.

* Bump node version

* refactor: decouple locale from calendar utils

- Removed global `locale` dependency in favor of explicit argument
  passing to improve testability and prevent side effects.
- Added `baseline-browser-mapping` resolution to manage dependency
  compatibility.
- Cleaned up unused `testing-library` types.

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

38 of 40 branches covered (95.0%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 2 files covered. (100.0%)

90 of 103 relevant lines covered (87.38%)

11.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23121476595.1 15 Mar 2026 11:08PM UTC 7
89.51
GitHub Action Run
Source Files on build 23121476595
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23121476595
  • 37a68506 on github
  • Prev Build on main (#23073601943)
  • Next Build on main (#23165932373)
  • Delete
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

© 2026 Coveralls, Inc