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 1
1
import * as path from 'path' ;
2
2
import { TESTING_FRAMEWORKS } from '../constants' ;
3
+ import { fromWindowsRelativePathToUnix } from '../common/helpers' ;
3
4
4
5
class TestInitCommand implements ICommand {
5
6
public allowedParameters : ICommandParameter [ ] = [ ] ;
@@ -105,7 +106,7 @@ class TestInitCommand implements ICommand {
105
106
const frameworks = [ frameworkToInstall ] . concat ( this . karmaConfigAdditionalFrameworks [ frameworkToInstall ] || [ ] )
106
107
. map ( fw => `'${ fw } '` )
107
108
. join ( ', ' ) ;
108
- const testFiles = `'${ relativeTestsDir } /**/*.js'` ;
109
+ const testFiles = `'${ fromWindowsRelativePathToUnix ( relativeTestsDir ) } /**/*.js'` ;
109
110
const karmaConfTemplate = this . $resources . readText ( 'test/karma.conf.js' ) ;
110
111
const karmaConf = _ . template ( karmaConfTemplate ) ( { frameworks, testFiles } ) ;
111
112
You can’t perform that action at this time.
0 commit comments