From ce1058caf4a75aea016a36b0bd3487bd5aa1e2d0 Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Mon, 21 Mar 2022 10:18:45 +0200 Subject: [PATCH] Introduce yarn-script for unit testing (and specifically not integration testing) in development Signed-off-by: Iku-turso --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index bf1d981854..255e75f611 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "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", "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",