@@ -47,7 +47,7 @@ describe("testConnectionAsync should run test connection of integration", () =>
4747 expect ( factorySpy ) . toHaveBeenCalledWith ( {
4848 id : "new" ,
4949 name : "Pi Hole" ,
50- url : "http://pi.hole" ,
50+ url : new URL ( "http://pi.hole" ) ,
5151 kind : "piHole" ,
5252 decryptedSecrets : [
5353 expect . objectContaining ( {
@@ -97,7 +97,7 @@ describe("testConnectionAsync should run test connection of integration", () =>
9797 expect ( factorySpy ) . toHaveBeenCalledWith ( {
9898 id : "new" ,
9999 name : "Pi Hole" ,
100- url : "http://pi.hole" ,
100+ url : new URL ( "http://pi.hole" ) ,
101101 kind : "piHole" ,
102102 decryptedSecrets : [
103103 expect . objectContaining ( {
@@ -147,7 +147,7 @@ describe("testConnectionAsync should run test connection of integration", () =>
147147 expect ( factorySpy ) . toHaveBeenCalledWith ( {
148148 id : "new" ,
149149 name : "Pi Hole" ,
150- url : "http://pi.hole" ,
150+ url : new URL ( "http://pi.hole" ) ,
151151 kind : "piHole" ,
152152 decryptedSecrets : [
153153 expect . objectContaining ( {
@@ -201,7 +201,7 @@ describe("testConnectionAsync should run test connection of integration", () =>
201201 expect ( factorySpy ) . toHaveBeenCalledWith ( {
202202 id : "new" ,
203203 name : "Pi Hole" ,
204- url : "http://pi.hole" ,
204+ url : new URL ( "http://pi.hole" ) ,
205205 kind : "piHole" ,
206206 decryptedSecrets : [
207207 expect . objectContaining ( {
@@ -255,7 +255,7 @@ describe("testConnectionAsync should run test connection of integration", () =>
255255 expect ( factorySpy ) . toHaveBeenCalledWith ( {
256256 id : "new" ,
257257 name : "Pi Hole" ,
258- url : "http://pi.hole" ,
258+ url : new URL ( "http://pi.hole" ) ,
259259 kind : "piHole" ,
260260 decryptedSecrets : [
261261 expect . objectContaining ( {
@@ -325,7 +325,7 @@ describe("testConnectionAsync should run test connection of integration", () =>
325325 expect ( factorySpy ) . toHaveBeenCalledWith ( {
326326 id : "new" ,
327327 name : "GitHub" ,
328- url : "https://api.github.com" ,
328+ url : new URL ( "https://api.github.com" ) ,
329329 kind : "github" as const ,
330330 decryptedSecrets : [
331331 expect . objectContaining ( {
0 commit comments