From 3ccf58b0ad73dd57ad2a7c3970699ab9153a7319 Mon Sep 17 00:00:00 2001 From: rzadp Date: Tue, 21 May 2019 12:49:46 +0200 Subject: [PATCH] Compiling contracts --- package.json | 2 +- ui/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1bef6083..69436cb9 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "scripts": { "build": "yarn workspace poa-parity-bridge-contracts run compile && yarn workspace ui run build", "lint": "yarn wsrun --exclude oracle-e2e --exclude ui-e2e --exclude poa-parity-bridge-contracts lint", - "test": "yarn wsrun --exclude monitor --exclude oracle-e2e --exclude ui-e2e test", + "test": "yarn workspace poa-parity-bridge-contracts run compile && yarn wsrun --exclude monitor --exclude oracle-e2e --exclude ui-e2e test", "ansible-lint": "./deployment/lint.sh", "oracle-e2e": "./oracle-e2e/run-tests.sh", "ui-e2e": "./ui-e2e/run-tests.sh", diff --git a/ui/package.json b/ui/package.json index 6bebb944..ad9002e7 100644 --- a/ui/package.json +++ b/ui/package.json @@ -38,7 +38,7 @@ "watch-css": "nodemon -e scss -x \"npm run build-css\"", "start": "npm run build-css && npm run select-css-theme && react-app-rewired start", "build": "npm run compile:contracts && npm run build-css && npm run select-css-theme && react-app-rewired build", - "test": "react-app-rewired test --env=jsdom --no-watch", + "test": "npm run compile:contracts && react-app-rewired test --env=jsdom --no-watch", "test:watch": "react-app-rewired test --env=jsdom", "coverage": "react-app-rewired test --env=jsdom --coverage", "coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",