Skip to content

Commit

Permalink
test(browsers): only set $BROWSER to a default if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 4, 2023
1 parent c13c12c commit 92a871a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tap/.browsers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
HOSTNAME="localhost"
SSL=""

if [[ -z $CI ]]; then
BROWSER="chrome:headless"
fi
: "${BROWSER:=chrome:headless}"

testcafe "$BROWSER" --skip-js-errors --ssl "$SSL" --hostname "$HOSTNAME" tap/.browser.ts

0 comments on commit 92a871a

Please sign in to comment.