@@ -41,7 +41,7 @@ describe('root commands', () => {
4141 } ) ;
4242
4343 describe ( 'create' , ( ) => {
44- describe ( 'context' , async ( ) => {
44+ describe ( 'context' , ( ) => {
4545 it ( 'should handle creation from spec' , async ( ) => {
4646 const argv = {
4747 filename : {
@@ -56,7 +56,7 @@ describe('root commands', () => {
5656 } ) ;
5757 } ) ;
5858
59- describe ( 'pipeline' , async ( ) => {
59+ describe ( 'pipeline' , ( ) => {
6060 it ( 'should handle creation from spec' , async ( ) => {
6161 const argv = {
6262 filename : {
@@ -73,7 +73,7 @@ describe('root commands', () => {
7373 } ) ;
7474
7575 describe ( 'delete' , ( ) => {
76- describe ( 'context' , async ( ) => {
76+ describe ( 'context' , ( ) => {
7777 it ( 'should handle deletion by spec' , async ( ) => {
7878 const argv = {
7979 filename : {
@@ -88,7 +88,7 @@ describe('root commands', () => {
8888 } ) ;
8989 } ) ;
9090
91- describe ( 'pipeline' , async ( ) => {
91+ describe ( 'pipeline' , ( ) => {
9292 it ( 'should handle deletion by spec' , async ( ) => {
9393 const argv = {
9494 filename : {
@@ -105,7 +105,7 @@ describe('root commands', () => {
105105 } ) ;
106106
107107 describe ( 'replace' , ( ) => {
108- describe ( 'context' , async ( ) => {
108+ describe ( 'context' , ( ) => {
109109 it ( 'should handle replacing by spec' , async ( ) => {
110110 const argv = {
111111 filename : {
@@ -120,7 +120,7 @@ describe('root commands', () => {
120120 } ) ;
121121 } ) ;
122122
123- describe ( 'pipeline' , async ( ) => {
123+ describe ( 'pipeline' , ( ) => {
124124 it ( 'should handle replacing by spec' , async ( ) => {
125125 const argv = {
126126 filename : {
@@ -137,7 +137,7 @@ describe('root commands', () => {
137137 } ) ;
138138
139139 describe ( 'validate' , ( ) => {
140- describe ( 'Not valid yaml ' , async ( ) => {
140+ describe ( 'Not valid yaml ' , ( ) => {
141141 it ( 'should throw error for not valid file' , async ( ) => {
142142 const argv = {
143143 filenames : [ './__mocks__/codefresh.yml' ] ,
@@ -150,23 +150,23 @@ describe('root commands', () => {
150150 } ) ;
151151
152152 describe ( 'version' , ( ) => {
153- describe ( 'api' , async ( ) => {
153+ describe ( 'api' , ( ) => {
154154 it ( 'should handle getting version' , async ( ) => {
155155 const argv = { component : 'api' } ;
156156 await versionCmd . handler ( argv ) ;
157157 await verifyResponsesReturned ( [ DEFAULT_RESPONSE ] ) ; // eslint-disable-line
158158 } ) ;
159159 } ) ;
160160
161- describe ( 'hermes' , async ( ) => {
161+ describe ( 'hermes' , ( ) => {
162162 it ( 'should handle getting version' , async ( ) => {
163163 const argv = { component : 'hermes' } ;
164164 await versionCmd . handler ( argv ) ;
165165 await verifyResponsesReturned ( [ DEFAULT_RESPONSE ] ) ; // eslint-disable-line
166166 } ) ;
167167 } ) ;
168168
169- describe ( 'nomios' , async ( ) => {
169+ describe ( 'nomios' , ( ) => {
170170 it ( 'should handle getting version' , async ( ) => {
171171 const argv = { component : 'nomios' } ;
172172 await versionCmd . handler ( argv ) ;
@@ -178,7 +178,7 @@ describe('root commands', () => {
178178 describe ( 'Approve pending-approval workflow' , ( ) => {
179179 it ( 'should handle approve from spec' , async ( ) => {
180180 const argv = {
181- buildId : 'buildId'
181+ buildId : 'buildId' ,
182182 } ;
183183 await approveCmd . handler ( argv ) ;
184184 await verifyResponsesReturned ( [ DEFAULT_RESPONSE , DEFAULT_RESPONSE ] ) ; // eslint-disable-line
@@ -188,7 +188,7 @@ describe('root commands', () => {
188188 describe ( 'Deny pending-approval workflow' , ( ) => {
189189 it ( 'should handle deny from spec' , async ( ) => {
190190 const argv = {
191- buildId : 'buildId'
191+ buildId : 'buildId' ,
192192 } ;
193193 await denyCmd . handler ( argv ) ;
194194 await verifyResponsesReturned ( [ DEFAULT_RESPONSE , DEFAULT_RESPONSE ] ) ; // eslint-disable-line
0 commit comments