From d7e83107ba666a4fe59cc55014ce167f084ca9a0 Mon Sep 17 00:00:00 2001 From: jhen Date: Sat, 22 Jul 2023 09:11:49 +0800 Subject: [PATCH] Update snapshots --- .../injectDevToolsMiddleware.test.js.snap | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/npm-package/src/__tests__/__snapshots__/injectDevToolsMiddleware.test.js.snap b/npm-package/src/__tests__/__snapshots__/injectDevToolsMiddleware.test.js.snap index c9f5f85f..5c054e84 100644 --- a/npm-package/src/__tests__/__snapshots__/injectDevToolsMiddleware.test.js.snap +++ b/npm-package/src/__tests__/__snapshots__/injectDevToolsMiddleware.test.js.snap @@ -150,7 +150,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -538,7 +538,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -933,7 +933,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -1308,7 +1308,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -1670,7 +1670,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -2021,7 +2021,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -2332,7 +2332,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -2657,7 +2657,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath })); @@ -2979,7 +2979,7 @@ function __connectToRND(rndPath, log, cb) { ); return cb(false); } - var __c = __net.createConnection({ port: __port }, () => { + var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => { let pass = false; __c.setEncoding('utf-8'); __c.write(JSON.stringify({ path: rndPath }));