File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11import * as path from 'path' ;
22import { TESTING_FRAMEWORKS } from '../constants' ;
3+ import { fromWindowsRelativePathToUnix } from '../common/helpers' ;
34
45class TestInitCommand implements ICommand {
56 public allowedParameters : ICommandParameter [ ] = [ ] ;
@@ -105,7 +106,7 @@ class TestInitCommand implements ICommand {
105106 const frameworks = [ frameworkToInstall ] . concat ( this . karmaConfigAdditionalFrameworks [ frameworkToInstall ] || [ ] )
106107 . map ( fw => `'${ fw } '` )
107108 . join ( ', ' ) ;
108- const testFiles = `'${ relativeTestsDir } /**/*.js'` ;
109+ const testFiles = `'${ fromWindowsRelativePathToUnix ( relativeTestsDir ) } /**/*.js'` ;
109110 const karmaConfTemplate = this . $resources . readText ( 'test/karma.conf.js' ) ;
110111 const karmaConf = _ . template ( karmaConfTemplate ) ( { frameworks, testFiles } ) ;
111112
You can’t perform that action at this time.
0 commit comments