Skip to content

docs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated test.#4618

Merged
yusukebe merged 1 commit into
honojs:mainfrom
Itsnotaka:bun-namespace
Jan 10, 2026
Merged

docs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated test.#4618
yusukebe merged 1 commit into
honojs:mainfrom
Itsnotaka:bun-namespace

Conversation

@Itsnotaka

Copy link
Copy Markdown
Contributor

Fix typo in createBunWebSocket deprecation message

The deprecation notice incorrectly referenced createWebSocket which doesn't exist. Changed to upgradeWebSocket which is the actual export users should migrate to.

Also fixed the test assertion which was comparing variables to themselves instead of verifying the factory returns the correct exports.

Tests pass: bun run vitest run src/adapter/bun/websocket.test.ts

@codecov

codecov Bot commented Jan 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.56%. Comparing base (4e87275) to head (ce33a49).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4618   +/-   ##
=======================================
  Coverage   91.56%   91.56%           
=======================================
  Files         173      173           
  Lines       11256    11256           
  Branches     3265     3266    +1     
=======================================
  Hits        10307    10307           
  Misses        948      948           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yusukebe yusukebe changed the title Fixed a typo in hono/bun deprecation message and updated test. docs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated test. Jan 10, 2026

@yusukebe yusukebe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yusukebe

Copy link
Copy Markdown
Member

Hey @Itsnotaka

Thanks. Nice catch!

@yusukebe yusukebe merged commit ef2a4b8 into honojs:main Jan 10, 2026
20 checks passed
@Itsnotaka Itsnotaka deleted the bun-namespace branch January 10, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants