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

sebnitu / vrembem / 11110708364 / 1
94%
main: 100%

Build:
Build:
LAST BUILD BRANCH: next-reference
DEFAULT BRANCH: main
Ran 30 Sep 2024 05:01PM UTC
Files 59
Run time 1s
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

30 Sep 2024 04:58PM UTC coverage: 100.0%. Remained the same
11110708364.1

push

github

web-flow
Refactor which custom properties are queried for in collection entries (#2051)

This PR refactors which custom properties are queried when `getCustomProps` is called. Instead of searching every key in the `entry.context.settings` object, we now use the `entry.getSetting("customProps")` method to return an array of all the props to query custom properties for.

As part of this update, `getSetting` has also been refactored into a modular helper function which is then imported and applied as the entry method `getSetting`. It can now take an options object for setting a fallback value in cases where a setting doesn't exist as well as a props array with the order of properties to check for the setting. This allows for adjusting the order or adding on to the settings query.

603 of 603 branches covered (100.0%)

Branch coverage included in aggregate %.

2510 of 2510 relevant lines covered (100.0%)

140.58 hits per line

Source Files on job 11110708364.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 11110708364
  • a0d3d6d0 on github
  • Prev Job for on next (#11079229880.1)
  • Next Job for on next (#11113982800.1)
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