Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Feb 18, 2025
1 parent 9d462b8 commit bc3ae7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/pac-proxy-agent/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,16 @@ describe('PacProxyAgent', () => {
return 'PROXY http-proxy.example.org:443;';
}

const uri = `data:,${encodeURIComponent(FindProxyForURL.toString())}`;
const uri = `data:,${encodeURIComponent(
FindProxyForURL.toString()
)}`;
const agent = new PacProxyAgent(uri);

const resolver = await agent.getResolver();
const proxy = await resolver("https://example.com/test")
assert.equal(proxy, "PROXY http-proxy.example.org:443;")
const proxy = await resolver('https://example.com/test');
assert.equal(proxy, 'PROXY http-proxy.example.org:443;');
});
})
});

describe('"http" module', () => {
it('should work over an HTTP proxy', async () => {
Expand Down

0 comments on commit bc3ae7c

Please sign in to comment.