From 40444ac46a8fe7d223684268a313ca0432af5ecf Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 24 Oct 2024 14:13:33 -0300 Subject: [PATCH] Reuse resetDatabase script --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a94d0479..1d390328 100644 --- a/package.json +++ b/package.json @@ -69,11 +69,11 @@ "scripts": { "front": "webpack serve --open", "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", + "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", "clean": "rm -rf build/", "lint": "eslint --ext .js,.vue ./"