Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/internal/quic/state.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -926,7 +926,7 @@ class QuicStreamState {
wantsHeaders,
wantsTrailers,
early,
resetCode,
resetCode: `${resetCode}`,
writeDesiredSize,
highWaterMark,
};
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-quic-internal-endpoint-stats-state.mjs
Original file line numberDiff line numberDiff line change
Expand Up@@ -179,6 +179,7 @@ strictEqual(sessionState.maxDatagramSize, 0);
strictEqual(sessionState.lastDatagramId, 0n);

strictEqual(typeof streamState.toJSON(), 'object');
strictEqual(JSON.parse(streamState.toString()).resetCode, '0');
strictEqual(typeof sessionState.toJSON(), 'object');
strictEqual(typeof inspect(streamState), 'string');
strictEqual(typeof inspect(sessionState), 'string');
Expand Down
Loading