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

scriptype / writ-cms / 19448855422
39%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2025 12:03AM UTC
Jobs 9
Files 102
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

18 Nov 2025 12:02AM UTC coverage: 19.335% (-0.2%) from 19.497%
19448855422

push

github

scriptype
Extend collection from ContentModelNode

Calculate contentType of a collection at the top level ContentModel and
pass it down to the collection. Collection accesses it via
settings.contentType.

Fix root collection json rendering path.

Add a getSlug template method to ContentModelEntryNode. It's called
before setting permalink and outputPath. Allows outliers like collection
to implement a custom slug mechanism and let it cascade to permalink and
outputPath.

For that reason exactly, add an __originalAttributes__ field to what
parseTextEntry returns. In it, there are non-overridden values of title
and slug. So, collection can ignore auto-slugging in case slug is null
in the front-matter. That allows collection acting like root.

Implement a serialize method at the top level ContentModel class,
serialize itself before passing its tree down to model renders.

Serialize every model before passing itself to template in render.

150 of 3433 branches covered (4.37%)

Branch coverage included in aggregate %.

13 of 149 new or added lines in 7 files covered. (8.72%)

925 of 2127 relevant lines covered (43.49%)

100.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
45.45
-4.55% src/compiler/contentModel/models/asset.js
1
40.0
-10.0% src/compiler/contentModel/models/attachment.js
8
26.23
-6.42% src/compiler/contentModel/matchers.js
13
27.67
-0.47% src/compiler/contentModel/index.js
13
40.58
-25.27% src/lib/contentModelHelpers.js
100
3.7
-3.19% src/compiler/contentModel/models/collection/index.js
Jobs
ID Job ID Ran Files Coverage
1 19448855422.1 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
2 19448855422.2 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
3 19448855422.3 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
4 19448855422.4 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
5 19448855422.5 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
6 19448855422.6 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
7 19448855422.7 18 Nov 2025 12:03AM UTC 102
19.33
GitHub Action Run
8 19448855422.8 18 Nov 2025 12:04AM UTC 102
19.33
GitHub Action Run
9 19448855422.9 18 Nov 2025 12:04AM UTC 102
19.33
GitHub Action Run
Source Files on build 19448855422
  • Tree
  • List 102
  • Changed 102
  • Source Changed 102
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19448855422
  • aa8c682c on github
  • Prev Build on master (#19444708197)
  • Next Build on master (#19475302659)
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