whats going on cypress

pull/490/head
hunterlong 2020-04-11 17:12:03 -07:00
parent 9c68d4ebe1
commit 8865e5ccf0
1 changed files with 8 additions and 0 deletions

View File

@ -18,4 +18,12 @@
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `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;
}
});
}