Reuse resetDatabase script
gitea/hedera-web/pipeline/pr-4922-vueMigration This commit looks good Details

This commit is contained in:
William Buezas 2024-10-24 14:13:33 -03:00
parent 5f0a2f9181
commit 40444ac46a
1 changed files with 4 additions and 4 deletions

View File

@ -69,11 +69,11 @@
"scripts": { "scripts": {
"front": "webpack serve --open", "front": "webpack serve --open",
"back": "cd ../vn-database && myvc start && cd ../salix && gulp backOnly", "back": "cd ../vn-database && myvc start && cd ../salix && gulp backOnly",
"cy:open": "cd ../salix && gulp docker && cd ../hedera-web && cypress open",
"test:e2e": "cd ../salix && gulp docker && cd ../hedera-web && cypress run",
"cy:open-mindshore": "cd ../salix && gulp docker && cd ../hedera-web-mindshore && cypress open",
"test:e2e-mindshore": "cd ../salix && gulp docker && cd ../hedera-web-mindshore && cypress run",
"resetDatabase": "cd ../salix && gulp docker", "resetDatabase": "cd ../salix && gulp docker",
"cy:open": "npm run resetDatabase && cd ../hedera-web && cypress open",
"test:e2e": "npm run resetDatabase && cd ../hedera-web && cypress run",
"cy:open-mindshore": "npm run resetDatabase && cd ../hedera-web-mindshore && cypress open",
"test:e2e-mindshore": "npm run resetDatabase && cd ../hedera-web-mindshore && cypress run",
"build": "rm -rf build/ ; webpack", "build": "rm -rf build/ ; webpack",
"clean": "rm -rf build/", "clean": "rm -rf build/",
"lint": "eslint --ext .js,.vue ./" "lint": "eslint --ext .js,.vue ./"