Skip to content

test(helper/adaptater): add some test on tester adaptater to get full…#4996

Open
iNeoO wants to merge 1 commit into
honojs:mainfrom
iNeoO:test/helper-adaptater
Open

test(helper/adaptater): add some test on tester adaptater to get full…#4996
iNeoO wants to merge 1 commit into
honojs:mainfrom
iNeoO:test/helper-adaptater

Conversation

@iNeoO

@iNeoO iNeoO commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

… coverage

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

Adds coverage for env() runtime handling across Bun, Node fallback, Edge Runtime, Deno, Workerd, Fastly, and the other fallback.

The tests mock runtime-specific globals/user agents and assert both the detected runtime and the returned env source.

Do you have any priorities for additional test coverage in specific areas?

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.

1 participant