Skip to content

Commit afeab73

Browse files
committed
fix: update type definition in mocked TCP handler
1 parent 2f0910d commit afeab73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/command/ping-command.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('ping command executor', () => {
124124
const mockedSocket = sandbox.createStubInstance(Socket);
125125

126126
const fakeTcpHandler = (emit: (cb: (chunk: unknown) => void) => Promise<void>) => {
127-
return async (_options: never, onProgress?: (result: any) => void) => {
127+
return async (_options: unknown, onProgress?: (result: any) => void) => {
128128
const chunks = [];
129129

130130
await emit((chunk) => {

0 commit comments

Comments
 (0)