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

RobinTail / zod-sockets / 10235518972
100%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2024 10:31AM UTC
Jobs 6
Files 21
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

04 Aug 2024 10:30AM UTC coverage: 100.0%. Remained the same
10235518972

push

github

web-flow
Feat: `onError()` hook (#246)

* Feat: onError() hook draft.

* cp: makeErrorFromAnything(), simplified version.

* cp: errors (simplified) and getMessageFromError (reduced).

* ActionError, EmissionError, AckError.

* Wrapping validation errors in Action.

* Wrapping errors in emitter.

* Default onError() hook calling test.

* Testing all errors thrown in Action.

* Rev: no wrapping/handling for emission (should be handled in place).

* REF: InputValidationError and OutputValidationError.

* Example handling with a fix to error catching.

* System test for missing ack.

* Ref: moving test.

* System test for error event in case of invalid data.

* Index: Exposing errors.

* Update src/action.ts

* Add example to the error event.

* Better samples for testing getMessageFromError().

* Better test for extracting messages from errors in getMessageFromError().

* Ref: extracting commons in Action tests.

* Ref: better test.each expectations in Action tests.

* Todo on possibly redundant event param of Action::execute.

* REF: ErrorContext more generic: event, payload and client are optional.

* JSDoc for the new hook.

* Readme: error context article.

* Minor: rm opt access.

* Readme: Handling errors section and emission errors article.

* Changelog: 2.1.0.

* Update README.md

308 of 336 branches covered (91.67%)

36 of 36 new or added lines in 5 files covered. (100.0%)

539 of 539 relevant lines covered (100.0%)

232.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-22.x - 10235518972.1 04 Aug 2024 10:31AM UTC 21
100.0
GitHub Action Run
2 run-22.0.0 - 10235518972.2 04 Aug 2024 10:31AM UTC 21
100.0
GitHub Action Run
3 run-20.x - 10235518972.3 04 Aug 2024 10:31AM UTC 21
100.0
GitHub Action Run
4 run-20.9.0 - 10235518972.4 04 Aug 2024 10:31AM UTC 21
100.0
GitHub Action Run
5 run-18.x - 10235518972.5 04 Aug 2024 10:31AM UTC 21
100.0
GitHub Action Run
6 run-18.18.0 - 10235518972.6 04 Aug 2024 10:31AM UTC 21
100.0
GitHub Action Run
Source Files on build 10235518972
  • Tree
  • List 21
  • Changed 12
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10235518972
  • 2708e3f6 on github
  • Prev Build on main (#10226874600)
  • Next Build on main (#10235728953)
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