diff --git a/package.json b/package.json index 35a16578d7..4a99a4c967 100644 --- a/package.json +++ b/package.json @@ -28,7 +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", + "test:unit": "func() { jest ${1} --watch --testPathIgnorePatterns integration; }; func", "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",