From b6b810c9fcc4a9a3cdcc9a553e2084d134e5c705 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sat, 1 Sep 2018 05:40:26 +0200 Subject: [PATCH] Getting closer: add --watch=false to test --- .drone.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index a3af774..799cbbf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,5 +5,5 @@ pipeline: - apt-get update - apt-get install -yq libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libcups2 libxss1 libxrandr2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libnss3 libasound2 - npm install - - npm run test-no-sandbox + - npm run test:ci - npm run build-prod diff --git a/package.json b/package.json index a7b92bd..d408a3a 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "ng build --delete-output-path", "build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer", "test": "ng test", - "test-no-sandbox": "ng test --browsers ChromeHeadlessNoSandbox", + "test:ci": "ng test --browsers ChromeHeadlessNoSandbox --watch=false", "lint": "ng lint", "e2e": "ng e2e", "postinstall": "npm rebuild node-sass"