From 88caada395395df6bdc0ebd5f28e3d50c8b69d44 Mon Sep 17 00:00:00 2001 From: Thiago Lugli Date: Wed, 28 Feb 2024 16:35:25 -0300 Subject: [PATCH] NO-ISSUE: Disable dev-deployment-upload-service tests on macOS and Windows --- packages/dev-deployment-dmn-form-webapp/package.json | 5 ++++- pnpm-lock.yaml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/dev-deployment-dmn-form-webapp/package.json b/packages/dev-deployment-dmn-form-webapp/package.json index b64c9e09108..f3f6248dca3 100644 --- a/packages/dev-deployment-dmn-form-webapp/package.json +++ b/packages/dev-deployment-dmn-form-webapp/package.json @@ -19,7 +19,9 @@ "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack", "lint": "run-script-if --bool \"$(build-env linters.run)\" --then \"kie-tools--eslint ./src\"", "start": "cross-env WEBPACK__sourceMaps=false node ./dev-webapp/start.js", - "test": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose\"" + "test": "run-script-os", + "test:linux": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose\"", + "test:win32:darwin": "echo 'Not supported'" }, "dependencies": { "@kie-tools-core/i18n": "workspace:*", @@ -67,6 +69,7 @@ "node-polyfill-webpack-plugin": "^2.0.1", "process": "^0.11.10", "rimraf": "^3.0.2", + "run-script-os": "^1.1.6", "ts-jest": "^26.5.6", "typescript": "^4.6.2", "webpack": "^5.88.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfd61cba51a..3d7e12d7b12 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3191,6 +3191,9 @@ importers: rimraf: specifier: ^3.0.2 version: 3.0.2 + run-script-os: + specifier: ^1.1.6 + version: 1.1.6 ts-jest: specifier: ^26.5.6 version: 26.5.6(jest@26.6.3)(typescript@4.8.4)