Enable local testing in Edge (#382)
This commit is contained in:
parent
82e0a46283
commit
899c11317d
2 changed files with 7 additions and 2 deletions
|
|
@ -24,7 +24,8 @@
|
|||
"format": "npm run pretty:fix ; npm run lint:fix",
|
||||
"test:chrome": "BROWSER=chrome node tests/run.mjs",
|
||||
"test:firefox": "BROWSER=firefox node tests/run.mjs",
|
||||
"test:safari": "BROWSER=safari node tests/run.mjs"
|
||||
"test:safari": "BROWSER=safari node tests/run.mjs",
|
||||
"test:edge": "BROWSER=edge node tests/run.mjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.3",
|
||||
|
|
|
|||
|
|
@ -57,8 +57,12 @@ switch (BROWSER) {
|
|||
capabilities = Capabilities.chrome();
|
||||
break;
|
||||
}
|
||||
case "edge": {
|
||||
capabilities = Capabilities.edge();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
printHelp(`Invalid browser "${BROWSER}", choices are: "safari", "firefox", "chrome"`);
|
||||
printHelp(`Invalid browser "${BROWSER}", choices are: "safari", "firefox", "chrome", "edge"`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue