Skip to content

Commit

Permalink
Removing TTY command
Browse files Browse the repository at this point in the history
  • Loading branch information
rpinheiroalmeida committed May 3, 2022
1 parent 4a4587b commit aa0538a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"postversion": "git push origin master",
"pretest": "cross-env NODE_ENV=test npm run build && npm run lint",
"test": "jest --config ./test/jest.config.js --coverage --silent test/unit",
"test:integration": "npm run test:integration:setup && jest --config ./test/jest.config.js --silent test/integration",
"test:integration": "npm run test:integration:setup && jest --config ./test/jest.config.js --silent test/integration && npm run test:integration:teardown",
"test:integration:setup": "test/integration/fixture/setup.sh",
"test:integration:teardown": "test/integration/fixture/teardown.sh",
"test:unit": "jest --config ./test/jest.config.js --coverage --silent test/unit",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/fixture/teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end=$'\e[0m'
CURRENT_DIR=$(basename $PWD)

echo "${yel}Inicializando Terraform para destruição de recursos utilizados pela aplicação no Localstack${end}"
docker container run --rm -it -v $PWD/test/integration/fixture/terraform:/app -w /app --entrypoint '' --link localstack_main --env TF_VAR_HOST=localstack_main --network "$CURRENT_DIR"_integration_test_network hashicorp/terraform:light terraform destroy -lock=false -auto-approve
docker container run --rm -v $PWD/test/integration/fixture/terraform:/app -w /app --entrypoint '' --link localstack_main --env TF_VAR_HOST=localstack_main --network "$CURRENT_DIR"_integration_test_network hashicorp/terraform:light terraform destroy -lock=false -auto-approve

echo "${yel}Inicializando destruição dos containers do Localstack e da aplicação${end}"
docker-compose -f test/integration/fixture/docker-compose.yml --project-directory . down
Expand Down

0 comments on commit aa0538a

Please sign in to comment.