File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,9 @@ describe("getOptions", function(){
144
144
it ( "should set service_name and service_job_id if it's running on Gitlab" , function ( done ) {
145
145
testGitlab ( getOptions , done ) ;
146
146
} ) ;
147
+ it ( "should set service_name and service_job_id if it's running via Surf" , function ( done ) {
148
+ testSurf ( getOptions , done ) ;
149
+ } ) ;
147
150
it ( "should override set options with user options" , function ( done ) {
148
151
var userOptions = { service_name : 'OVERRIDDEN_SERVICE_NAME' } ;
149
152
process . env . COVERALLS_SERVICE_NAME = "SERVICE_NAME" ;
@@ -418,7 +421,7 @@ var testGitlab = function(sut, done) {
418
421
} ) ;
419
422
} ;
420
423
421
- var testGitlab = function ( sut , done ) {
424
+ var testSurf = function ( sut , done ) {
422
425
process . env . CI_NAME = 'surf' ;
423
426
process . env . SURF_SHA1 = "e3e3e3e3e3e3e3e3e" ;
424
427
process . env . SURF_REF = "feature" ;
You can’t perform that action at this time.
0 commit comments