From 788d4bf73c1c1eff5a533dcb8c7c70e480ee1f3b Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Fri, 30 Jul 2021 23:36:31 -0400 Subject: [PATCH] Build before running test --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index df66bbc4..117d7d45 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,8 @@ "dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"", "dev:firefox-android": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox-android\" \"npm run build:watch:firefox\"", "clean": "rimraf dist", - "test": "npx jest", + "test": "npm run build:chrome && npx jest", + "testWithoutBuilding": "npx jest", "lint": "eslint src", "lint:fix": "eslint src --fix" },