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

SAP / ui5-cli / 6771970321 / 1
96%
main: 96%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2023 02:15PM UTC
Files 22
Run time 0s
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

06 Nov 2023 02:14PM UTC coverage: 96.726%. Remained the same
6771970321.1

push

github

web-flow
[INTERNAL] New dynamic import mock for NodeJS >= 20.6.xx (#663)

Fixes: https://github.com/SAP/ui5-tooling/issues/891

Node's module loading has changed since 20.6.xx. As `esmock` is unable
to properly mock dynamic imports within CommonJS modules, we need to use
another alternative for this test. `testdouble` seems to work pretty
well for that case, but for NodeJS versions below 20.6.xx it needs a
`--loader` flag and we already use that for `esmock`.

The solution would be to use the old mocking for older NodeJs versions
and `testdouble` for the ones after 20.6.xx (no flag required here):
https://github.com/testdouble/testdouble.js/blob/main/docs/7-replacing-dependencies.md#how-module-replacement-works-for-es-modules-using-import

342 of 357 branches covered (0.0%)

Branch coverage included in aggregate %.

633 of 651 relevant lines covered (97.24%)

8.41 hits per line

Source Files on job 6771970321.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6771970321
  • 06e79fa7 on github
  • Prev Job for on main (#6758920159.1)
  • Next Job for on main (#6838317952.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