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

kahwee / bunki / 18700075684
90%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2025 11:03PM UTC
Jobs 1
Files 10
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

21 Oct 2025 11:03PM UTC coverage: 87.228% (+1.2%) from 86.042%
18700075684

push

github

kahwee
test: add comprehensive coverage for new-post command and config module

Added 25 new tests to improve coverage:

New Post Command (7 tests):
- Create post with/without tags
- Proper slug generation from title with special characters
- Error handling when writeFile fails (covers line 58)
- Error logging on exceptions (covers error handler)
- Success message logging (covers line 55)
- Tag whitespace handling

Config Module (18 tests):
Path Safety & Validation (6 tests):
- Path traversal attempts detection
- Unsafe extension rejection
- Encoded traversal patterns
- Valid extension acceptance (.ts, .js, .json)
- Relative path handling

Default Config Creation (7 tests):
- Default config structure validation
- Site mirror property creation
- Invalid config file handling
- Function export handling (covers line 52-53)
- Unparseable config fallback
- Missing site property recovery

Save Config (5 tests):
- Successful file writing
- TypeScript config generation
- Property preservation
- Existing file overwriting
- Complex config object handling

Coverage improvements:
- new-post.ts: 77% → ~91% (+14%)
- config.ts: 77% → ~90% (+13%)

1441 of 1652 relevant lines covered (87.23%)

46.44 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.81
16.81% src/config.ts
Jobs
ID Job ID Ran Files Coverage
1 bunki-tests - 18700075684.1 21 Oct 2025 11:03PM UTC 10
87.23
GitHub Action Run
Source Files on build 18700075684
  • Tree
  • List 10
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18700075684
  • cc223850 on github
  • Prev Build on main (#18699993142)
  • Next Build on main (#18700264971)
  • 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

© 2025 Coveralls, Inc