Merge pull request #525 from secinthenet/add-tests-lockfile

tests: add jasmine dep and missing lockfile
This commit is contained in:
iancoleman
2021-10-08 14:18:49 +11:00
committed by GitHub
3 changed files with 506 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ if (!browser) {
console.log("Using default browser: chrome");
browser = "chrome";
}
else if (browser !== 'chrome' && browser !== 'firefox') {
throw `Unsupported browser: "${browser}", must be "chrome" or "firefox"`
}
else {
console.log("Using browser: " + browser);
}