fix path part 2

This commit is contained in:
Artur Neumann
2021-11-17 16:38:35 +05:45
parent e1426daf6f
commit 0f07a0b2e4
3 changed files with 3 additions and 7 deletions
+2 -5
View File
@@ -18,7 +18,7 @@ then
exit 1
fi
#trap clean_up SIGHUP SIGINT SIGTERM
trap clean_up SIGHUP SIGINT SIGTERM
if [ -z "$TEST_INFRA_DIRECTORY" ]
then
@@ -40,10 +40,7 @@ clean_up() {
trap clean_up SIGHUP SIGINT SIGTERM EXIT
cp -r "$WEB_PATH"/tests/acceptance/* "$testFolder"
rm -r $testFolder/node_modules
yarn install --immutable
cp -r $(ls -d "$WEB_PATH"/tests/acceptance/* | grep -v 'node_modules') "$testFolder"
export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}