Skip to content

Commit

Permalink
🐛 fix: Delete wrong address test
Browse files Browse the repository at this point in the history
  • Loading branch information
MoIzadloo committed Mar 14, 2023
1 parent d6f53e7 commit 758c600
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ describe('client socks5 (connect | associate | bind)', () => {
).rejects.toBe(SOCKS5REPLY.generalFailure.msg)
})

test('wrong socks server address', () => {
return expect(
connect(22, serverHost, 5).connect(httpPort, 'google.com')
).rejects.toMatch(/ECONNREFUSED/)
})

afterAll((done) => {
server.close()
done()
Expand Down

0 comments on commit 758c600

Please sign in to comment.