mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
Fix broken test in connection.ts for node 18 and add node 18 testing (#2183)
* Change localhost to 127.0.0.1 * Add Node 18 testing
This commit is contained in:
@@ -136,7 +136,7 @@ describe('Connection', function () {
|
||||
createServer().then((server: net.Server) => {
|
||||
const port = (server.address() as net.AddressInfo).port
|
||||
const options = {
|
||||
proxy: `ws://localhost:${port}`,
|
||||
proxy: `ws://127.0.0.1:${port}`,
|
||||
authorization: 'authorization',
|
||||
trustedCertificates: ['path/to/pem'],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user