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

jshttp / on-finished
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3
DEFAULT BRANCH: master
Repo Added 16 Aug 2014 03:50AM UTC
Files 1
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

LAST BUILD ON BRANCH v3
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 2.0.0
  • add-isFinished-invalid-input-tests
  • async-resource-polyfill
  • async_hooks
  • ci-workflows
  • dependabot/github_actions/actions/checkout-5.0.0
  • dependabot/github_actions/actions/checkout-6.0.0
  • dependabot/github_actions/actions/checkout-6.0.1
  • dependabot/github_actions/actions/download-artifact-5.0.0
  • dependabot/github_actions/actions/download-artifact-6.0.0
  • dependabot/github_actions/actions/download-artifact-7.0.0
  • dependabot/github_actions/actions/setup-node-6.1.0
  • dependabot/github_actions/actions/upload-artifact-5.0.0
  • dependabot/github_actions/actions/upload-artifact-6.0.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.7
  • dependabot/github_actions/github/codeql-action-3.29.2
  • dependabot/github_actions/github/codeql-action-3.29.5
  • dependabot/github_actions/github/codeql-action-3.30.0
  • dependabot/github_actions/github/codeql-action-3.30.5
  • dependabot/github_actions/github/codeql-action-4.31.6
  • dependabot/github_actions/github/codeql-action-4.31.9
  • dependabot/github_actions/ossf/scorecard-action-2.4.3
  • dependabot/npm_and_yarn/eslint-plugin-import-2.32.0
  • dependabot/npm_and_yarn/eslint-plugin-promise-6.6.0
  • dependabot/npm_and_yarn/mocha-10.8.2
  • deps
  • exit_clean
  • finished
  • funding
  • http2
  • legacy-support
  • master
  • node-18
  • node-prefixes
  • node23
  • refs/tags/v2.4.0
  • refs/tags/v2.4.1
  • replace-buffer-constructor
  • scorecard
  • stream-finished
  • symbol
  • test-asyc-hooks
  • tests
  • types
  • v2.0.0
  • v2.1.1
  • v2.2.0
  • v2.2.1
  • v2.3.0
  • v3
  • validate-listener
  • wrtiable-ended

20 May 2026 09:54PM UTC coverage: 100.0%. Remained the same
26192239101

push

github

web-flow
feat: add http2 support (#87)

* [WIP] test: add http2 onFinished test

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* include more tests

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* chore: enhance isFinished to handle Http2ServerRequest and Http2ServerResponse

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* test: enable async local storage tests

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* chore: add utility functions for HTTP2 testing

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* refactor:  unification of the common tests

- Added  and  functions to handle errors for HTTP/1 and HTTP/2 requests.
- Introduced  function to simplify test setup by returning appropriate HTTP modules and request functions based on the type.

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* rename test.js to http1

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

* test: enhance HTTP/2 session reuse tests in onFinished

* test: implement pipelined request handling in HTTP/2 tests

* [WIP] test: error handling in HTTP/2 response tests

* test: skip response error tests and enhance pipelined request handling in HTTP/2 tests

* [WIP] test: implement response error handling in HTTP/2 tests

* test: enhance HTTP/2 session reuse handling in onFinished tests

* test: enable response error handling in HTTP/2 tests and refine error simulation

* test: implement request error handling in onFinished tests for HTTP/2

* test: update isFinished to correctly handle HTTP/2 stream closure

Co-authored-by: Jon Church <me@jonchurch.com>

* test: restore and enable request data buffered handling in isFinished tests

* test: implement request error handling in isFinished tests for HTTP/2

* test: enable warning suppression for multiple onFinished calls on the same request

* test: implement CONNECT method handling in onFinished tests for HTTP/2

* docs: clarify HTTP/2 handling in README regarding Upgra... (continued)

7 of 7 new or added lines in 1 file covered. (100.0%)

63 of 63 relevant lines covered (100.0%)

876.35 hits per line

Relevant lines Covered
Build:
Build:
63 RELEVANT LINES 63 COVERED LINES
876.35 HITS PER LINE
Source Files on master
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26192239101 v3 feat: add http2 support (#87) * [WIP] test: add http2 onFinished test Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com> * include more tests Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com> * chore: enhance isFinished to handle... push 20 May 2026 09:55PM UTC web-flow github
100.0
26192239107 v3 feat: add http2 support (#87) * [WIP] test: add http2 onFinished test Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com> * include more tests Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com> * chore: enhance isFinished to handle... push 20 May 2026 09:55PM UTC web-flow github
100.0
21036117408 http2 Merge 688b3c8bd into 57ba2825c Pull #87 15 Jan 2026 03:13PM UTC web-flow github
100.0
21036117458 http2 Merge 688b3c8bd into 57ba2825c Pull #87 15 Jan 2026 03:13PM UTC web-flow github
100.0
21026109399 types Merge 534935bf1 into 57ba2825c Pull #69 15 Jan 2026 09:23AM UTC web-flow github
98.25
21026109416 types Merge 534935bf1 into 57ba2825c Pull #69 15 Jan 2026 09:23AM UTC web-flow github
98.25
21025953394 types Merge 9b6c2cd91 into 57ba2825c Pull #69 15 Jan 2026 09:17AM UTC web-flow github
98.25
21025953416 types Merge 9b6c2cd91 into 57ba2825c Pull #69 15 Jan 2026 09:17AM UTC web-flow github
98.25
21002980086 http2 Merge 48ccebd69 into 57ba2825c Pull #87 14 Jan 2026 05:08PM UTC web-flow github
100.0
21002980089 http2 Merge 48ccebd69 into 57ba2825c Pull #87 14 Jan 2026 05:08PM UTC web-flow github
100.0
See All Builds (458)
  • Repo on GitHub
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