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

electron / fiddle / 25948527416
89%

Build:
DEFAULT BRANCH: main
Ran 16 May 2026 12:58AM UTC
Jobs 1
Files 106
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

16 May 2026 12:57AM UTC coverage: 88.535% (+0.07%) from 88.468%
25948527416

push

github

web-flow
refactor: use more production code, fewer mocks in github tests (#1943)

* refactor: extract GIST_MAX_FILE_SIZE / GIST_MAX_FILE_COUNT constants

Hoist the gist size/count limits out of `src/main/github.ts` into `src/constants.ts` so tests can reference them by name instead of duplicating the magic numbers.

* refactor: STATIC_DIR in main/constants.ts now works in both production and tests

* test: add electron app.setPath() mock

* refactor: reduce scope of MOCK_GIST_FILES, MOCK_GIST_DATA

* refactor: remove magic string from github.spec.ts

* test: use more production code, fewer mocks in github.spec.ts

* test: stop mocking getTemplate() in github.spec.ts

* refactor: minor copyediting

* Apply suggestion from @dsanders11

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

* test: safeguard tests against the credentials file location changing

* fixup! Apply suggestion from @dsanders11

* fix: unused variable warning

* fixup! test: safeguard tests against the credentials file location changing

fix: oops, removed a line accidentally

---------

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

562 of 622 branches covered (90.35%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 3 files covered. (100.0%)

3554 of 4027 relevant lines covered (88.25%)

46.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25948527416.1 16 May 2026 12:58AM UTC 106
88.54
GitHub Action Run
Source Files on build 25948527416
  • Tree
  • List 106
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25948527416
  • 448991df on github
  • Prev Build on main (#25574946733)
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