File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/openapi-ts/src/plugins/@hey-api/client-axios/__tests__ Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ describe('buildUrl', () => {
24
24
description : 'without query params' ,
25
25
expectedUrl : '/some-url' ,
26
26
inputOptions : {
27
- baseUrl : 'some-base-url' ,
27
+ baseURL : 'some-base-url' ,
28
28
path : { param1 : 'some-path-param' } ,
29
29
query : undefined ,
30
30
querySerializer : ( ( ) => '' ) as QuerySerializer ,
@@ -45,8 +45,8 @@ describe('buildUrl', () => {
45
45
46
46
expect ( builtUrl ) . toBe ( expectedUrl ) ;
47
47
48
- // baseUrl is not included in the URL
49
48
expect ( getUrlMock ) . toHaveBeenCalledExactlyOnceWith ( {
49
+ baseUrl : inputOptions . baseURL ,
50
50
path : inputOptions . path ,
51
51
query : inputOptions . query ,
52
52
querySerializer : inputOptions . querySerializer ,
You can’t perform that action at this time.
0 commit comments