Skip to content

Commit bc3ae7c

Browse files
committed
Fix formatting
1 parent 9d462b8 commit bc3ae7c

File tree

1 file changed

+6
-4
lines changed
  • packages/pac-proxy-agent/test

1 file changed

+6
-4
lines changed

packages/pac-proxy-agent/test/test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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 () => {

0 commit comments

Comments
 (0)