File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ class TestExecutionService implements ITestExecutionService {
3232 private $config : IConfiguration ,
3333 private $logger : ILogger ,
3434 private $fs : IFileSystem ,
35- private $options : IOptions ) {
35+ private $options : IOptions ,
36+ private $pluginsService : IPluginsService ) {
3637 }
3738
3839 public startTestRunner ( platform : string ) : IFuture < void > {
@@ -133,6 +134,7 @@ class TestExecutionService implements ITestExecutionService {
133134 public startKarmaServer ( platform : string ) : IFuture < void > {
134135 return ( ( ) => {
135136 platform = platform . toLowerCase ( ) ;
137+ this . $pluginsService . ensureAllDependenciesAreInstalled ( ) . wait ( ) ;
136138 let pathToKarma = path . join ( this . $projectData . projectDir , 'node_modules/karma' ) ;
137139 let KarmaServer = require ( path . join ( pathToKarma , 'lib/server' ) ) ;
138140 if ( platform === 'ios' && this . $options . emulator ) {
You can’t perform that action at this time.
0 commit comments