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
exports[`createSocketUrl should return the url when __resourceQuery is ?test 1`] =`"/sockjs-node"`;
4
+
5
+
exports[`createSocketUrl should return the url when __resourceQuery is http://0.0.0.0 1`] =`"http://localhost/sockjs-node"`;
6
+
7
+
exports[`createSocketUrl should return the url when __resourceQuery is http://user:pass@[::]:8080 1`] =`"ttp:user:pass@localhost:8080/sockjs-node"`;
8
+
9
+
exports[`createSocketUrl should return the url when __resourceQuery is http://user:password@localhost/ 1`] =`"ttp:user:password@localhost/sockjs-node"`;
10
+
11
+
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com 1`] =`"ttps:example.com/sockjs-node"`;
12
+
13
+
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com/path 1`] =`"ttps:example.com/sockjs-node"`;
14
+
15
+
exports[`createSocketUrl should return the url when __resourceQuery is https://example.com/path/foo.js 1`] =`"ttps:example.com/sockjs-node"`;
16
+
17
+
exports[`createSocketUrl should return the url when __resourceQuery is https://localhost:123 1`] =`"ttps:localhost:123/sockjs-node"`;
18
+
19
+
exports[`createSocketUrl should return the url when the current script source is ?test 1`] =`"/sockjs-node"`;
20
+
21
+
exports[`createSocketUrl should return the url when the current script source is http://0.0.0.0 1`] =`"http:/sockjs-node"`;
22
+
23
+
exports[`createSocketUrl should return the url when the current script source is http://user:pass@[::]:8080 1`] =`"http:/sockjs-node"`;
24
+
25
+
exports[`createSocketUrl should return the url when the current script source is http://user:password@localhost/ 1`] =`"http://user:password@localhost/sockjs-node"`;
26
+
27
+
exports[`createSocketUrl should return the url when the current script source is https://example.com 1`] =`"https:/sockjs-node"`;
28
+
29
+
exports[`createSocketUrl should return the url when the current script source is https://example.com/path 1`] =`"https://example.com/sockjs-node"`;
30
+
31
+
exports[`createSocketUrl should return the url when the current script source is https://example.com/path/foo.js 1`] =`"https://example.com/sockjs-node"`;
32
+
33
+
exports[`createSocketUrl should return the url when the current script source is https://localhost:123 1`] =`"https:/sockjs-node"`;
0 commit comments