You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/client/utils/__snapshots__/createSocketUrl.test.js.snap
+10-10
Original file line number
Diff line number
Diff line change
@@ -4,34 +4,34 @@ exports[`createSocketUrl should return the url when __resourceQuery is ?test 1`]
4
4
5
5
exports[`createSocketUrl should return the url when __resourceQuery is http://0.0.0.0 1`] =`"http://localhost/sockjs-node"`;
6
6
7
-
exports[`createSocketUrl should return the url when __resourceQuery is http://user:pass@[::]:8080 1`] =`"ttp:user:pass@localhost:8080/sockjs-node"`;
7
+
exports[`createSocketUrl should return the url when __resourceQuery is http://user:pass@[::]:8080 1`] =`"http://user:pass@localhost:8080/sockjs-node"`;
8
8
9
-
exports[`createSocketUrl should return the url when __resourceQuery is http://user:password@localhost/ 1`] =`"ttp:user:password@localhost/sockjs-node"`;
9
+
exports[`createSocketUrl should return the url when __resourceQuery is http://user:password@localhost/ 1`] =`"http://user:password@localhost/sockjs-node"`;
10
10
11
-
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com 1`] =`"ttps:example.com/sockjs-node"`;
11
+
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com 1`] =`"https://example.com/sockjs-node"`;
12
12
13
-
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com/path 1`] =`"ttps:example.com/sockjs-node"`;
13
+
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com/path 1`] =`"https://example.com/sockjs-node"`;
14
14
15
-
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com/path/foo.js 1`] =`"ttps:example.com/sockjs-node"`;
15
+
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com/path/foo.js 1`] =`"https://example.com/sockjs-node"`;
16
16
17
-
exports[`createSocketUrl should return the url when __resourceQuery is https://localhost:123 1`] =`"ttps:localhost:123/sockjs-node"`;
17
+
exports[`createSocketUrl should return the url when __resourceQuery is https://localhost:123 1`] =`"https://localhost:123/sockjs-node"`;
18
18
19
19
exports[`createSocketUrl should return the url when __resourceQuery is undefined 1`] =`"/sockjs-node"`;
20
20
21
21
exports[`createSocketUrl should return the url when the current script source is ?test 1`] =`"/sockjs-node"`;
22
22
23
-
exports[`createSocketUrl should return the url when the current script source is http://0.0.0.0 1`] =`"http:/sockjs-node"`;
23
+
exports[`createSocketUrl should return the url when the current script source is http://0.0.0.0 1`] =`"http://localhost/sockjs-node"`;
24
24
25
-
exports[`createSocketUrl should return the url when the current script source is http://user:pass@[::]:8080 1`] =`"http:/sockjs-node"`;
25
+
exports[`createSocketUrl should return the url when the current script source is http://user:pass@[::]:8080 1`] =`"http://user:pass@localhost:8080/sockjs-node"`;
26
26
27
27
exports[`createSocketUrl should return the url when the current script source is http://user:password@localhost/ 1`] =`"http://user:password@localhost/sockjs-node"`;
28
28
29
-
exports[`createSocketUrl should return the url when the current script source is https://example.com 1`] =`"https:/sockjs-node"`;
29
+
exports[`createSocketUrl should return the url when the current script source is https://example.com 1`] =`"https://example.com/sockjs-node"`;
30
30
31
31
exports[`createSocketUrl should return the url when the current script source is https://example.com/path 1`] =`"https://example.com/sockjs-node"`;
32
32
33
33
exports[`createSocketUrl should return the url when the current script source is https://example.com/path/foo.js 1`] =`"https://example.com/sockjs-node"`;
34
34
35
-
exports[`createSocketUrl should return the url when the current script source is https://localhost:123 1`] =`"https:/sockjs-node"`;
35
+
exports[`createSocketUrl should return the url when the current script source is https://localhost:123 1`] =`"https://localhost:123/sockjs-node"`;
36
36
37
37
exports[`createSocketUrl should return the url when the current script source is undefined 1`] =`"/sockjs-node"`;
0 commit comments