Skip to content

test: add missing tests for handlers and otel modules#3847

Open
SisyphusZheng wants to merge 2 commits into
freshframework:mainfrom
SisyphusZheng:test/add-handlers-otel-tests
Open

test: add missing tests for handlers and otel modules#3847
SisyphusZheng wants to merge 2 commits into
freshframework:mainfrom
SisyphusZheng:test/add-handlers-otel-tests

Conversation

@SisyphusZheng

Copy link
Copy Markdown
Contributor

What

Adds missing unit tests for two previously untested @fresh/core modules:

File Functions tested Tests
handlers_test.ts page(), isHandlerByMethod() 10
otel_test.ts recordSpanError() 4

Verification

deno test -A packages/fresh/src/handlers_test.ts packages/fresh/src/otel_test.ts
-> 14 passed | 0 failed

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