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) {