Skip to content

Commit

Permalink
test: check installation with Firefox (#5965)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjzffr committed Jun 3, 2020
1 parent c2d32b1 commit ef63c64
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/test-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@ cd "$(mktemp -d)"
# 3. Requiring Puppeteer from Node works.
npm install --loglevel silent "${tarball}"
node --eval="require('puppeteer')"

# Again for Firefox
TMPDIR="$(mktemp -d)"
cd $TMPDIR
PUPPETEER_PRODUCT=firefox npm install --loglevel silent "${tarball}"
node --eval="require('puppeteer')"
rm "${tarball}"
ls $TMPDIR/node_modules/puppeteer/.local-firefox/linux-79.0a1/firefox/firefox

0 comments on commit ef63c64

Please sign in to comment.