test: Stop installing chrome-remote-interface in tmt

This commit is contained in:
Martin Pitt 2024-08-13 15:53:34 +02:00 committed by Marius Vollmer
parent 44619ebc79
commit b400577547

View file

@ -7,16 +7,6 @@ git init
rm -f bots # common local case: existing bots symlink
make bots test/common
# support running from clean git tree
if [ ! -d node_modules/chrome-remote-interface ]; then
# copy package.json temporarily otherwise npm might try to install the dependencies from it
rm -f package-lock.json # otherwise the command below installs *everything*, argh
mv package.json .package.json
# only install a subset to save time/space
npm install chrome-remote-interface
mv .package.json package.json
fi
# disable detection of affected tests; testing takes too long as there is no parallelization
mv .git dot-git