From 6e16338302a19929f7667a84ca4a01e8e7bac0b9 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 17 Jan 2019 21:38:19 +0200 Subject: [PATCH] test: log cli version in `cli-hello-world[-ivy]` integration projects (#26947) This helps debug issues on CI. PR Close #26947 --- integration/cli-hello-world-ivy/package.json | 1 + integration/cli-hello-world/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/integration/cli-hello-world-ivy/package.json b/integration/cli-hello-world-ivy/package.json index dd1c3cc54a..2b0fe561e2 100644 --- a/integration/cli-hello-world-ivy/package.json +++ b/integration/cli-hello-world-ivy/package.json @@ -9,6 +9,7 @@ "ng": "ng", "postinstall": "webdriver-manager update --gecko=false --standalone=false $CHROMEDRIVER_VERSION_ARG && yarn ivy-ngcc", "start": "ng serve", + "pretest": "ng version", "//test1": "TODO FW-813: Re-enable `ci-production`. Currently, it fails after a timeout as Protractor reports Angular cannot be found on the page", "//test2": "ng test --progress=false --watch=false && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production", "test": "ng test --progress=false --watch=false && yarn e2e --configuration=ci" diff --git a/integration/cli-hello-world/package.json b/integration/cli-hello-world/package.json index 73db82dc46..20e17950e5 100644 --- a/integration/cli-hello-world/package.json +++ b/integration/cli-hello-world/package.json @@ -9,6 +9,7 @@ "ng": "ng", "postinstall": "webdriver-manager update --gecko=false --standalone=false $CHROMEDRIVER_VERSION_ARG", "start": "ng serve", + "pretest": "ng version", "test": "ng test --progress=false --watch=false && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production" }, "private": true,