test: Avoid npm install downloading everything

In the presence of a package-lock.json, `npm install` apparently
downloads all packages even when giving explicit ones on the CLI. Avoid
that by removing package-lock.json before.
This commit is contained in:
Martin Pitt 2020-08-06 10:50:51 +02:00
parent a7ecb6ec6e
commit 8253a95498

View File

@ -7,6 +7,7 @@ git init
make bots test/common
# only install a subset to save time/space
rm -f package-lock.json # otherwise the command below installs *everything*, argh
npm install chrome-remote-interface sizzle
. /etc/os-release