test: cleanup installation tests from top-level env variables (#2022)

This commit is contained in:
Andrey Lushnikov 2020-04-29 17:10:44 -07:00 committed by GitHub
parent cccf3f7248
commit 062a8361c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,11 @@ npm pack ../../../packages/playwright-chromium
npm pack ../../../packages/playwright-webkit
npm pack ../../../packages/playwright-firefox
# cleanup environment
unset PLAYWRIGHT_DOWNLOAD_HOST
unset PLAYWRIGHT_BROWSERS_PATH
unset PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD
# There is no option to specify output for `npm pack`, but the format is
# fixed.
PACKAGE_VERSION=$(node -e 'console.log(require("../../../package.json").version)')