mirror of https://github.com/statping/statping
whats going on cypress
parent
9c68d4ebe1
commit
8865e5ccf0
|
@ -18,4 +18,12 @@
|
||||||
module.exports = (on, config) => {
|
module.exports = (on, config) => {
|
||||||
// `on` is used to hook into various events Cypress emits
|
// `on` is used to hook into various events Cypress emits
|
||||||
// `config` is the resolved Cypress config
|
// `config` is the resolved Cypress config
|
||||||
|
on("before:browser:launch", (browser = {}, args) => {
|
||||||
|
if (browser.name === "chrome") {
|
||||||
|
// ^ make sure this is your browser name, you may
|
||||||
|
// be using 'canary' or 'chromium' for example, so change it to match!
|
||||||
|
args.push("--proxy-bypass-list=<-loopback>");
|
||||||
|
return args;
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue