From eeadcf299d990c3569252b5c15a1088d3846e99d Mon Sep 17 00:00:00 2001 From: Sho Ikeda Date: Tue, 14 Aug 2018 00:17:12 +0900 Subject: [PATCH] fix(init): Support ChromeHeadless in `validateBrowser` (#3110) --- lib/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.js b/lib/init.js index 9edafb715..f744ec808 100755 --- a/lib/init.js +++ b/lib/init.js @@ -69,7 +69,7 @@ function validatePattern (pattern) { function validateBrowser (name) { // TODO(vojta): check if the path resolves to a binary - installPackage('karma-' + name.toLowerCase().replace('canary', '') + '-launcher') + installPackage('karma-' + name.toLowerCase().replace('headless', '').replace('canary', '') + '-launcher') } function validateFramework (name) {