fix(): integration tests cleanup, update deps versions

This commit is contained in:
Kamil Myśliwiec
2020-03-02 13:46:26 +01:00
parent b3c9d4c710
commit 5d2de5fd9a
49 changed files with 2247 additions and 22730 deletions

View File

@@ -1,8 +1,5 @@
# 1. Install all dependencies
for D in integration/*/; do sh -c "cd ${D} && npm i"; done
# 2. Build fresh packages and move them to sample and integration directories
# 1. Build fresh packages and move them to sample and integration directories
npm run build &>/dev/null
# 3. Start docker containers to perform integration tests
cd integration && docker-compose up -d
# 2. Start docker containers to perform integration tests
npm run test:docker:up

View File

@@ -2,7 +2,7 @@
npm run build &>/dev/null
# 2. Start docker containers to perform integration tests
cd integration && docker-compose up -d
npm run test:docker:up
# 3. Run integration tests
npm run integration-test
npm run test:integration

View File

@@ -1,3 +1,3 @@
# Run both unit and integration tests
npm run test
npm run integration-test
npm run test:integration