@@ -136,6 +136,15 @@ describe('sentry-cli', function() {
136
136
137
137
assert . equal ( plugin . readConfig ( 'environment' ) , 'my-production' ) ;
138
138
} ) ;
139
+
140
+ it ( 'url' , function ( ) {
141
+ const plugin = Plugin . createDeployPlugin ( { name : 'sentry-cli' } ) ;
142
+
143
+ plugin . beforeHook ( this . context ) ;
144
+ plugin . configure ( this . context ) ;
145
+
146
+ assert . equal ( plugin . readConfig ( 'url' ) , '' ) ;
147
+ } ) ;
139
148
} ) ;
140
149
} ) ;
141
150
@@ -150,8 +159,8 @@ describe('sentry-cli', function() {
150
159
151
160
this . sinon . assert . calledWithExactly ( stub ,
152
161
'SENTRY_ORG=my-org ' +
153
- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
154
162
'SENTRY_PROJECT=my-project ' +
163
+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
155
164
'node_modules/.bin/sentry-cli releases new [email protected] @1234567' ) ;
156
165
} ) ;
157
166
@@ -165,8 +174,8 @@ describe('sentry-cli', function() {
165
174
166
175
this . sinon . assert . calledWithExactly ( stub ,
167
176
'SENTRY_ORG=my-org ' +
168
- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
169
177
'SENTRY_PROJECT=my-project ' +
178
+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
170
179
'node_modules/.bin/sentry-cli releases set-commits --auto [email protected] @1234567' ) ;
171
180
} ) ;
172
181
@@ -180,8 +189,8 @@ describe('sentry-cli', function() {
180
189
181
190
this . sinon . assert . calledWithExactly ( stub ,
182
191
'SENTRY_ORG=my-org ' +
183
- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
184
192
'SENTRY_PROJECT=my-project ' +
193
+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
185
194
'node_modules/.bin/sentry-cli releases files [email protected] @1234567 upload-sourcemaps --rewrite my-dest-dir/assets' ) ;
186
195
} ) ;
187
196
@@ -195,8 +204,8 @@ describe('sentry-cli', function() {
195
204
196
205
this . sinon . assert . calledWithExactly ( stub ,
197
206
'SENTRY_ORG=my-org ' +
198
- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
199
207
'SENTRY_PROJECT=my-project ' +
208
+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
200
209
'node_modules/.bin/sentry-cli releases finalize [email protected] @1234567' ) ;
201
210
} ) ;
202
211
} ) ;
@@ -212,8 +221,8 @@ describe('sentry-cli', function() {
212
221
213
222
this . sinon . assert . calledWithExactly ( stub ,
214
223
'SENTRY_ORG=my-org ' +
215
- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
216
224
'SENTRY_PROJECT=my-project ' +
225
+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
217
226
'node_modules/.bin/sentry-cli releases deploys [email protected] @1234567 new -e my-production' ) ;
218
227
} ) ;
219
228
} ) ;
@@ -229,8 +238,8 @@ describe('sentry-cli', function() {
229
238
230
239
this . sinon . assert . calledWithExactly ( stub ,
231
240
'SENTRY_ORG=my-org ' +
232
- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
233
241
'SENTRY_PROJECT=my-project ' +
242
+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
234
243
'node_modules/.bin/sentry-cli releases delete [email protected] @1234567' ) ;
235
244
} ) ;
236
245
} ) ;
0 commit comments