Skip to content

Commit cfa7cdd

Browse files
committed
f
1 parent a24c671 commit cfa7cdd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

test/fixtures/socket_server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { createServer, Server } from 'node:http';
22

33
const socketPathPrefix = '/tmp/urllib.unix.sock';
44
let index = 0;
5+
56
export async function startServer(): Promise<{
67
server: Server,
78
url: string,

test/options.socketPath.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe.skipIf(isWindows())('options.socketPath.test.ts', () => {
1919

2020
afterAll(async () => {
2121
await close();
22-
await server2.closeServer();
22+
await server2?.closeServer();
2323
});
2424

2525
it('should request socket successfully', async () => {

0 commit comments

Comments
 (0)