mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
test: puppeteer
This commit is contained in:
@@ -74,6 +74,7 @@ describe('puppeteer', () => {
|
||||
browser = await puppeteer();
|
||||
|
||||
// trailing slash will cause net::ERR_NO_SUPPORTED_PROXIES, prohibit it
|
||||
console.log(browser.process()?.spawnargs);
|
||||
expect(browser.process()?.spawnargs.some((arg) => /^--proxy-server=http:\/\/.*[^/]$/.test(arg))).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user