@@ -11,8 +11,10 @@ abstract class TestCommandBase {
1111 protected abstract $platformEnvironmentRequirements : IPlatformEnvironmentRequirements ;
1212 protected abstract $errors : IErrors ;
1313 protected abstract $cleanupService : ICleanupService ;
14+ protected abstract $workflowService : IWorkflowService ;
1415
1516 async execute ( args : string [ ] ) : Promise < void > {
17+ await this . $workflowService . handleLegacyWorkflow ( this . $projectData . projectDir , this . $options ) ;
1618 await this . $testExecutionService . startKarmaServer ( this . platform , this . $projectData , this . projectFilesConfig ) ;
1719 }
1820
@@ -54,7 +56,8 @@ class TestAndroidCommand extends TestCommandBase implements ICommand {
5456 protected $options : IOptions ,
5557 protected $platformEnvironmentRequirements : IPlatformEnvironmentRequirements ,
5658 protected $errors : IErrors ,
57- protected $cleanupService : ICleanupService ) {
59+ protected $cleanupService : ICleanupService ,
60+ protected $workflowService : IWorkflowService ) {
5861 super ( ) ;
5962 }
6063
@@ -69,7 +72,8 @@ class TestIosCommand extends TestCommandBase implements ICommand {
6972 protected $options : IOptions ,
7073 protected $platformEnvironmentRequirements : IPlatformEnvironmentRequirements ,
7174 protected $errors : IErrors ,
72- protected $cleanupService : ICleanupService ) {
75+ protected $cleanupService : ICleanupService ,
76+ protected $workflowService : IWorkflowService ) {
7377 super ( ) ;
7478 }
7579
0 commit comments