Skip to content

Commit

Permalink
test case corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
surya91521 committed Nov 26, 2024
1 parent a341324 commit 4e3fb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/test/unit/proxy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('proxy', () => {
const pacUrl = 'http://invalid-url/proxy.pac';
const options = { keepAlive: true };
createPacAgent(pacUrl, options);
expect(createPacAgent).toThrow(new Error("Failed to initialize PAC proxy: Cannot read properties of null (reading 'href')"));
expect(createPacAgent).toThrow();
});
});

Expand Down

0 comments on commit 4e3fb48

Please sign in to comment.