Skip to content

Commit c678bb8

Browse files
committed
test(daemon-client): name the catch parameter error
1 parent a30acbd commit c678bb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/daemon-client/__tests__/daemon-client-transport.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ test('an endpoint missing for the requested transport rejects with a typed reaso
390390
const socketOnly = { port: 1, token: 't', pid: 1 };
391391
const error = await canConnect(socketOnly, 'http').then(
392392
() => undefined,
393-
(err: unknown) => err,
393+
(error: unknown) => error,
394394
);
395395
assert.ok(error instanceof AppError);
396396
assert.equal(error.details?.reason, 'daemon_endpoint_unavailable');

0 commit comments

Comments
 (0)