Skip to content

fix(helper/websocket): allow custom events to be passed to generics #5868

fix(helper/websocket): allow custom events to be passed to generics

fix(helper/websocket): allow custom events to be passed to generics #5868

Triggered via pull request November 3, 2024 01:48
Status Failure
Total duration 1m 54s
Artifacts 7

ci.yml

on: pull_request
Matrix: node
Checking if it's valid for JSR
11s
Checking if it's valid for JSR
Deno
17s
Deno
perf-measures-type-check-on-pr
16s
perf-measures-type-check-on-pr
perf-measures-type-check-on-main
0s
perf-measures-type-check-on-main
Coverage
0s
Coverage
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Node.js v18.18.2: src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
Node.js v18.18.2: src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
Node.js v18.18.2: src/jsx/types.ts#L26
All type parameters are unused.
workerd: src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
workerd: src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
workerd: src/jsx/types.ts#L26
All type parameters are unused.
Node.js v20.x: src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
Node.js v20.x: src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
Node.js v20.x: src/jsx/types.ts#L26
All type parameters are unused.
Node.js v22.x: src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
Node.js v22.x: src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
Node.js v22.x: src/jsx/types.ts#L26
All type parameters are unused.
src/adapter/cloudflare-workers/websocket.test.ts > upgradeWebSocket middleware > Should receive message and readyState is valid: src/adapter/cloudflare-workers/websocket.test.ts#L43
AssertionError: expected [ '0.5340170456100897', 1 ] to be [ '0.5340170456100897', 1 ] // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: [ '0.5340170456100897', 1 ] Received: serializes to the same string Compared values have no visual difference. ❯ src/adapter/cloudflare-workers/websocket.test.ts:43:30
Main
Process completed with exit code 1.
Main: src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
Main: src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
Main: src/jsx/types.ts#L26
All type parameters are unused.

Artifacts

Produced during runtime
Name Size
coverage-bun
11.9 KB
coverage-deno
112 KB
coverage-fastly
681 KB
coverage-lambda
689 KB
coverage-lambda-edge
683 KB
coverage-node
686 KB
coverage-workerd
666 KB