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

Mu-L / unleash / 14909023372
84%

Build:
DEFAULT BRANCH: main
Ran 08 May 2025 09:50PM UTC
Jobs 1
Files 733
Run time 2min
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

08 May 2025 12:10PM UTC coverage: 84.033% (+0.07%) from 83.964%
14909023372

push

github

web-flow
chore: make operator checking more ergonomic and type-ful (#9932)

This is a helper PR for a refactor I'm working on for the new constraint
inputs. In the refactoring, it's useful to have individual subtypes for
the various subgroups of operators and to be able to easily assert
whether something is X operator or not.

The only change required in the code base is a single check for
operators, which is now handled by using the new `isXOperator` functions
instead.

Yes, the operator file in constants now includes functions, but it
seemed useful to put the identification functions there instead of
somewhere unrelated. The tests are primarily to ensure that the
identifier function works, and I'd be happy to remove them if we think
it's necessary. That said, they're pretty simple unit tests, so I think
it's fine to leave them.

The main bulk of the change is: removing the explicit `: Operator[]`
typing to the various sub-sets of operators and instead adding explicit
types. Additionally, there's the new identifier functions.

3004 of 4048 branches covered (74.21%)

Branch coverage included in aggregate %.

15269 of 17697 relevant lines covered (86.28%)

628.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
33.33
-16.67% src/lib/features/feature-links/fake-feature-links-read-model.ts
3
84.38
1.62% src/lib/features/feature-links/feature-link-service.ts
Jobs
ID Job ID Ran Files Coverage
1 14909023372.1 08 May 2025 09:50PM UTC 733
84.03
GitHub Action Run
Source Files on build 14909023372
  • Tree
  • List 733
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c72f39bb on github
  • Prev Build on main (#14902186044)
  • Next Build on main (#14915565729)
  • 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