@@ -63,7 +63,7 @@ describe('buildAndRelease', () => {
63
63
} ) ;
64
64
65
65
[ true , false ] . forEach ( ( isPublicRelease ) => {
66
- it ( `uploads the artifact to evergreen if is ${ isPublicRelease ? 'a' : 'not a' } public release` , async ( ) => {
66
+ it ( `uploads the artifact to evergreen if is ${ isPublicRelease ? 'a' : 'not a' } public release` , async ( ) => {
67
67
githubRepo = createStubRepo ( {
68
68
shouldDoPublicRelease : sinon . stub ( ) . returns ( Promise . resolve ( isPublicRelease ) )
69
69
} ) ;
@@ -91,7 +91,7 @@ describe('buildAndRelease', () => {
91
91
} ) ;
92
92
} ) ;
93
93
94
- it ( 'releases to github if a public release' , async ( ) => {
94
+ it ( 'releases to github if a public release' , async ( ) => {
95
95
githubRepo = createStubRepo ( {
96
96
shouldDoPublicRelease : sinon . stub ( ) . resolves ( true )
97
97
} ) ;
@@ -116,7 +116,7 @@ describe('buildAndRelease', () => {
116
116
) ;
117
117
} ) ;
118
118
119
- it ( 'does not release to github if not a public release' , async ( ) => {
119
+ it ( 'does not release to github if not a public release' , async ( ) => {
120
120
githubRepo = createStubRepo ( {
121
121
shouldDoPublicRelease : sinon . stub ( ) . resolves ( false )
122
122
} ) ;
@@ -137,7 +137,7 @@ describe('buildAndRelease', () => {
137
137
expect ( uploadToDownloadCenter ) . to . not . have . been . called ;
138
138
} ) ;
139
139
140
- it ( 'releases to barque if a public release' , async ( ) => {
140
+ it ( 'releases to barque if a public release' , async ( ) => {
141
141
githubRepo = createStubRepo ( {
142
142
shouldDoPublicRelease : sinon . stub ( ) . returns ( Promise . resolve ( true ) )
143
143
} ) ;
@@ -158,7 +158,7 @@ describe('buildAndRelease', () => {
158
158
expect ( barque . releaseToBarque ) . to . have . been . called ;
159
159
} ) ;
160
160
161
- it ( 'does not releases to barque if not a public release' , async ( ) => {
161
+ it ( 'does not releases to barque if not a public release' , async ( ) => {
162
162
githubRepo = createStubRepo ( {
163
163
shouldDoPublicRelease : sinon . stub ( ) . resolves ( false )
164
164
} ) ;
@@ -179,7 +179,7 @@ describe('buildAndRelease', () => {
179
179
expect ( barque . releaseToBarque ) . to . not . have . been . called ;
180
180
} ) ;
181
181
182
- it ( 'releases to downloads centre if a public release' , async ( ) => {
182
+ it ( 'releases to downloads centre if a public release' , async ( ) => {
183
183
githubRepo = createStubRepo ( {
184
184
shouldDoPublicRelease : sinon . stub ( ) . resolves ( true ) ,
185
185
releaseToGithub : sinon . stub ( ) . resolves ( true )
@@ -201,7 +201,7 @@ describe('buildAndRelease', () => {
201
201
expect ( githubRepo . releaseToGithub ) . to . have . been . calledWith ( tarballFile , config ) ;
202
202
} ) ;
203
203
204
- it ( 'does not release to downloads centre if not a public release' , async ( ) => {
204
+ it ( 'does not release to downloads centre if not a public release' , async ( ) => {
205
205
githubRepo = createStubRepo ( {
206
206
shouldDoPublicRelease : sinon . stub ( ) . resolves ( false ) ,
207
207
releaseToGithub : sinon . stub ( ) . resolves ( true )
0 commit comments