From d87d10aa756e00930fae088e68275dabffb06187 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Tue, 24 Jan 2023 09:47:07 +0200 Subject: [PATCH] fix test:unit for windows Signed-off-by: Jari Kolehmainen --- packages/core/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index 4d690ff638..6c19382481 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -52,7 +52,8 @@ "prepare:dev": "env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --progress", "dev": "env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --watch", "prepare": "yarn run compile:node-fetch", - "test:unit": "func() { jest ${1} --testPathIgnorePatterns integration; }; func", + "test:unit": "jest --testPathIgnorePatterns integration", + "test:watch": "func() { jest ${1} --watch --testPathIgnorePatterns integration; }; func", "lint": "PROD=true yarn run eslint --ext js,ts,tsx --max-warnings=0 .", "lint:fix": "yarn run lint --fix" },