From 5e429d2b9392b990d40de628e9b1847a1b36434a Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Mon, 28 Mar 2022 16:09:30 +0300 Subject: [PATCH] Yarn scripts for quality of life in development (#5087) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 0264aa2155..2a8962cc7a 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,8 @@ "build:mac": "yarn run compile && electron-builder --mac --dir", "build:win": "yarn run compile && electron-builder --win --dir", "integration": "jest --runInBand --detectOpenHandles --forceExit integration", + "test:unit": "jest --watch --testPathIgnorePatterns integration", + "test:integration": "func() { jest ${1:-xyz} --watch --runInBand --detectOpenHandles --forceExit --modulePaths=[\"/integration/\"]; }; func", "dist": "yarn run compile && electron-builder --publish onTag", "dist:dir": "yarn run dist --dir -c.compression=store -c.mac.identity=null", "download:binaries": "yarn run ts-node build/download_binaries.ts",