@@ -136,6 +136,15 @@ describe('sentry-cli', function() {
136136
137137 assert . equal ( plugin . readConfig ( 'environment' ) , 'my-production' ) ;
138138 } ) ;
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+ } ) ;
139148 } ) ;
140149 } ) ;
141150
@@ -150,8 +159,8 @@ describe('sentry-cli', function() {
150159
151160 this . sinon . assert . calledWithExactly ( stub ,
152161 'SENTRY_ORG=my-org ' +
153- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
154162 'SENTRY_PROJECT=my-project ' +
163+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
155164 'node_modules/.bin/sentry-cli releases new [email protected] @1234567' ) ; 156165 } ) ;
157166
@@ -165,8 +174,8 @@ describe('sentry-cli', function() {
165174
166175 this . sinon . assert . calledWithExactly ( stub ,
167176 'SENTRY_ORG=my-org ' +
168- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
169177 'SENTRY_PROJECT=my-project ' +
178+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
170179 'node_modules/.bin/sentry-cli releases set-commits --auto [email protected] @1234567' ) ; 171180 } ) ;
172181
@@ -180,8 +189,8 @@ describe('sentry-cli', function() {
180189
181190 this . sinon . assert . calledWithExactly ( stub ,
182191 'SENTRY_ORG=my-org ' +
183- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
184192 'SENTRY_PROJECT=my-project ' +
193+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
185194 'node_modules/.bin/sentry-cli releases files [email protected] @1234567 upload-sourcemaps --rewrite my-dest-dir/assets' ) ; 186195 } ) ;
187196
@@ -195,8 +204,8 @@ describe('sentry-cli', function() {
195204
196205 this . sinon . assert . calledWithExactly ( stub ,
197206 'SENTRY_ORG=my-org ' +
198- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
199207 'SENTRY_PROJECT=my-project ' +
208+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
200209 'node_modules/.bin/sentry-cli releases finalize [email protected] @1234567' ) ; 201210 } ) ;
202211 } ) ;
@@ -212,8 +221,8 @@ describe('sentry-cli', function() {
212221
213222 this . sinon . assert . calledWithExactly ( stub ,
214223 'SENTRY_ORG=my-org ' +
215- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
216224 'SENTRY_PROJECT=my-project ' +
225+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
217226 'node_modules/.bin/sentry-cli releases deploys [email protected] @1234567 new -e my-production' ) ; 218227 } ) ;
219228 } ) ;
@@ -229,8 +238,8 @@ describe('sentry-cli', function() {
229238
230239 this . sinon . assert . calledWithExactly ( stub ,
231240 'SENTRY_ORG=my-org ' +
232- 'SENTRY_AUTH_TOKEN=my-auth-token ' +
233241 'SENTRY_PROJECT=my-project ' +
242+ 'SENTRY_AUTH_TOKEN=my-auth-token ' +
234243 'node_modules/.bin/sentry-cli releases delete [email protected] @1234567' ) ; 235244 } ) ;
236245 } ) ;
0 commit comments