Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
test: small fixes to tests
  • Loading branch information
tegefaulkes committed Mar 28, 2025
commit e1bd7d9d38f1317d4e71aedd74a82ad76e546b71
37 changes: 27 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"ws": "^8.13.0"
},
"devDependencies": {
"@fast-check/jest": "^2.0.1",
"@fast-check/jest": "^2.1.0",
"@peculiar/asn1-pkcs8": "^2.3.0",
"@peculiar/asn1-schema": "^2.3.0",
"@peculiar/asn1-x509": "^2.3.0",
Expand All @@ -78,6 +78,7 @@
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0-alpha.2",
"fast-check" : "^4.0.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"jest-junit": "^16.0.0",
Expand Down
5 changes: 4 additions & 1 deletion tests/message/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ const streamMessageAckPayloadArb = fc.integer({ min: 0, max: 2 ** 32 - 1 });

const streamMessageClosePayloadArb = streamShutdownArb;

const streamMessageErrorPayloadArb = fc.record({
const streamMessageErrorPayloadArb: fc.Arbitrary<{
shutdown: StreamShutdown;
code: VarInt;
}> = fc.record({
shutdown: streamShutdownArb,
code: varIntArb,
});
Expand Down