@@ -30,7 +30,7 @@ test('parseUrl', async () => {
30
30
protocol : 'https' ,
31
31
hostname : 'www.cool.com' ,
32
32
port : '' ,
33
- path : '' ,
33
+ pathname : '' ,
34
34
search : '' ,
35
35
hash : '' ,
36
36
href : 'https://www.cool.com'
@@ -40,7 +40,7 @@ test('parseUrl', async () => {
40
40
protocol : 'https' ,
41
41
hostname : 'www.cool.com' ,
42
42
port : '' ,
43
- path : '/my-path' ,
43
+ pathname : '/my-path' ,
44
44
search : '' ,
45
45
hash : '' ,
46
46
href : 'https://www.cool.com/my-path'
@@ -50,7 +50,7 @@ test('parseUrl', async () => {
50
50
protocol : 'https' ,
51
51
hostname : 'www.cool.com' ,
52
52
port : '' ,
53
- path : '/my-path/here' ,
53
+ pathname : '/my-path/here' ,
54
54
search : '' ,
55
55
hash : '' ,
56
56
href : 'https://www.cool.com/my-path/here'
@@ -60,7 +60,7 @@ test('parseUrl', async () => {
60
60
protocol : 'https' ,
61
61
hostname : 'www.cool.com' ,
62
62
port : '' ,
63
- path : '/my-path/here' ,
63
+ pathname : '/my-path/here' ,
64
64
search : 'hello=true' ,
65
65
hash : '' ,
66
66
href : 'https://www.cool.com/my-path/here?hello=true'
@@ -70,7 +70,7 @@ test('parseUrl', async () => {
70
70
protocol : 'https' ,
71
71
hostname : 'www.cool.com' ,
72
72
port : '' ,
73
- path : '/my-path/here' ,
73
+ pathname : '/my-path/here' ,
74
74
search : 'hello=true' ,
75
75
hash : 'my-hash=cool' ,
76
76
href : 'https://www.cool.com/my-path/here?hello=true#my-hash=cool'
@@ -80,7 +80,7 @@ test('parseUrl', async () => {
80
80
protocol : 'https' ,
81
81
hostname : 'whatever.funky.cool.com' ,
82
82
port : '' ,
83
- path : '' ,
83
+ pathname : '' ,
84
84
search : '' ,
85
85
hash : '' ,
86
86
href : 'https://whatever.funky.cool.com'
@@ -92,7 +92,7 @@ test('parseUrl', async () => {
92
92
// protocol: 'NA',
93
93
// hostname: 'NA',
94
94
// port: 'NA',
95
- // path : 'NA',
95
+ // pathname : 'NA',
96
96
// search: 'NA',
97
97
// hash: 'NA',
98
98
// href: 'NA'
0 commit comments