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

scriptype / writ-cms / 20182077340
39%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2025 10:49PM UTC
Jobs 9
Files 103
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

12 Dec 2025 10:49PM UTC coverage: 32.767% (-0.9%) from 33.638%
20182077340

push

github

scriptype
Automate childNode matching and parsing in ContentModelEntryNode

Introduce a getSubtreeConfig method, in which all necessities of
matching childNodes and building subtree out of them are defined.

For each key in subtree, a definition like this is added to the config
array:

{
  matcher: matcha;
  key?: string;
  settings?: object;
  model?: ContentModelNode constructor;
  singular?: boolean (false);
  sideEffect?: function;
}

Then parseSubtree template method is actually implemented in the
ContentModelEntryNode. It loops over childNodes and subtree configs.

For everything to look and feel smooth some additional changes are made:

- ContentModel does not pass a contentType property to collection any
more. Instead, collection itself computes it based on the
settings.contentTypes in its getSchema method
- Compiler passes the { children: fileSystemTree } to the contentModel
- static draftCheck is now a class method of ContentModelEntryNode
- A getChildContext template method is added for models to be able to
customize the context they pass to their childNodes. E.g. ContentModel,
AssetsDirectory, PagesDirectory

412 of 3375 branches covered (12.21%)

Branch coverage included in aggregate %.

84 of 92 new or added lines in 9 files covered. (91.3%)

1 existing line in 1 file now uncovered.

1382 of 2100 relevant lines covered (65.81%)

1253.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.06
3.6% src/lib/ContentModelEntryNode.js
6
84.31
0.98% src/compiler/contentModel/models/collection/index.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.22
-3.88% src/compiler/contentModel/index.js
Jobs
ID Job ID Ran Files Coverage
1 20182077340.1 12 Dec 2025 10:49PM UTC 103
32.62
GitHub Action Run
2 20182077340.2 12 Dec 2025 10:50PM UTC 103
32.62
GitHub Action Run
3 20182077340.3 12 Dec 2025 10:50PM UTC 103
32.62
GitHub Action Run
4 20182077340.4 12 Dec 2025 10:50PM UTC 103
32.62
GitHub Action Run
5 20182077340.5 12 Dec 2025 10:50PM UTC 103
32.62
GitHub Action Run
6 20182077340.6 12 Dec 2025 10:50PM UTC 103
32.62
GitHub Action Run
7 20182077340.7 12 Dec 2025 10:50PM UTC 103
32.73
GitHub Action Run
8 20182077340.8 12 Dec 2025 10:50PM UTC 103
32.73
GitHub Action Run
9 20182077340.9 12 Dec 2025 10:51PM UTC 103
32.73
GitHub Action Run
Source Files on build 20182077340
  • Tree
  • List 103
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20182077340
  • 99f3e925 on github
  • Prev Build on master (#20180098425)
  • Next Build on master (#20301988081)
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