From a006a2df9864dfffad8392bd7e7d1d91b0d5b19f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 6 Feb 2021 14:46:53 +0100 Subject: [PATCH] tweak test command --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 27379f9..ed18ec8 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "lint:css": "stylelint ./src/**/*.{css,scss}", "lint": "npm run lint:js && npm run lint:css", "format": "prettier --write 'src/**/*.{js,jsx,css,scss}'", - "test": "npm run lint && jest --coverage --silent -c tests/jest.config.js", - "test:watch": "npm run lint && jest --coverage --watch -c tests/jest.config.js", + "test": "NODE_ENV=test npm run lint && jest --coverage --silent -c tests/jest.config.js", + "test:watch": "NODE_ENV=test npm run lint && jest --coverage --watch -c tests/jest.config.js", "deploy:s3": "./scripts/deploy-s3.sh", "new": "babel-node ./scripts/new.js" },