File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
packages/pac-proxy-agent/test Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -136,14 +136,16 @@ describe('PacProxyAgent', () => {
136136 return 'PROXY http-proxy.example.org:443;' ;
137137 }
138138
139- const uri = `data:,${ encodeURIComponent ( FindProxyForURL . toString ( ) ) } ` ;
139+ const uri = `data:,${ encodeURIComponent (
140+ FindProxyForURL . toString ( )
141+ ) } `;
140142 const agent = new PacProxyAgent ( uri ) ;
141143
142144 const resolver = await agent . getResolver ( ) ;
143- const proxy = await resolver ( " https://example.com/test" )
144- assert . equal ( proxy , " PROXY http-proxy.example.org:443;" )
145+ const proxy = await resolver ( ' https://example.com/test' ) ;
146+ assert . equal ( proxy , ' PROXY http-proxy.example.org:443;' ) ;
145147 } ) ;
146- } )
148+ } ) ;
147149
148150 describe ( '"http" module' , ( ) => {
149151 it ( 'should work over an HTTP proxy' , async ( ) => {
You can’t perform that action at this time.
0 commit comments