Skip to content

Commit e029352

Browse files
committed
fix: keySize
1 parent c85bef5 commit e029352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/diagnostics_channel.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('diagnostics_channel.test.ts', () => {
145145

146146
it('should support trace socket info with H2 by undici:client:sendHeaders and undici:request:trailers', async () => {
147147
const pem = selfsigned.generate([], {
148-
clientCertificateKeySize: nodeMajorVersion() >= 22 ? 2048 : 1024,
148+
keySize: nodeMajorVersion() >= 22 ? 2048 : 1024,
149149
});
150150
const server = createSecureServer({
151151
key: pem.private,

0 commit comments

Comments
 (0)