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

mikro-orm / sql-highlighter / 15874807486
94%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2025 11:13AM UTC
Jobs 4
Files 4
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

25 Jun 2025 11:13AM UTC coverage: 94.118% (-0.7%) from 94.779%
15874807486

push

github

web-flow
fix: fix typing in theme overriding (#32)

This: `{ [K in keyof typeof HighlightSubject]?: string } `
- gives a type with UPPER CASE keys, but the default theme and how it's
  resolved via `TOKEN_TYPE_TO_HIGHLIGHT` expects the values, i.e.
  lower case
- string is wrong type as a `StyleFunction` is expected and then called

I.e. the types suggest this
  `new SqlHighlighter({ RESERVED: 'red' })`
but this has no effect. To get it to work w/o this fix:
  `new SqlHighlighter({ reserved: c.red.bold } as any)`

88 of 98 branches covered (89.8%)

Branch coverage included in aggregate %.

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

152 of 157 relevant lines covered (96.82%)

2128.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15874807486.1 25 Jun 2025 11:13AM UTC 4
94.12
GitHub Action Run
2 15874807486.2 25 Jun 2025 11:13AM UTC 4
94.12
GitHub Action Run
3 15874807486.3 25 Jun 2025 11:13AM UTC 4
94.12
GitHub Action Run
4 15874807486.4 25 Jun 2025 11:13AM UTC 4
94.12
GitHub Action Run
Source Files on build 15874807486
  • Tree
  • List 4
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 588b4172 on github
  • Prev Build on master (#6624426979)
  • Next Build on master (#18489216064)
  • 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