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

mia-platform / crud-service / 6145099756
97%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2023 10:27AM UTC
Jobs 2
Files 31
Run time 2s
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

11 Sep 2023 10:22AM UTC coverage: 94.328% (-0.03%) from 94.354%
6145099756

push

github

web-flow
feat: not allowed state transitions returns error 400 (#122)

* feat: return 400 in case of forbidden state transition

* refactor: updated unit tests

* feat: improving state mefchanism + passing error with statusCode

* feat: applied suggestion on state assert in CrudService.changeStateById

* chore: changelog

* feat: updated documentation to explain the 404 returned and the patch of metadata fields in case of transition to same state

* Update CHANGELOG.md

Following suggestions in code review.

* docs: update README.md

Co-authored-by: Demetrio Marino <demetrio.marino1985@gmail.com>

* chore: update CHANGELOG.md

* refactor: ensure state field can only be modified in case no other update on it has occurred

---------

Co-authored-by: Demetrio Marino <demetrio.marino@mia-platform.eu>
Co-authored-by: Daniele Bissoli <danibix95@users.noreply.github.com>
Co-authored-by: Daniele Bissoli <daniele.bissoli@mia-platform.eu>

1082 of 1210 branches covered (0.0%)

Branch coverage included in aggregate %.

23 of 23 new or added lines in 2 files covered. (100.0%)

2244 of 2316 relevant lines covered (96.89%)

9982.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.14
-0.2% lib/httpInterface.js
Jobs
ID Job ID Ran Files Coverage
1 6145099756.1 11 Sep 2023 10:27AM UTC 31
89.96
GitHub Action Run
2 6145099756.2 11 Sep 2023 10:28AM UTC 31
94.33
GitHub Action Run
Source Files on build 6145099756
  • Tree
  • List 31
  • Changed 30
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4fa2f964 on github
  • Prev Build on main (#6144522411)
  • Next Build on main (#6145189592)
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

© 2025 Coveralls, Inc