Skip to content

Commit d78dda8

Browse files
committed
I am a dum
1 parent 2f636d2 commit d78dda8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/getOptions.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ describe("getOptions", function(){
144144
it ("should set service_name and service_job_id if it's running on Gitlab", function(done){
145145
testGitlab(getOptions, done);
146146
});
147+
it ("should set service_name and service_job_id if it's running via Surf", function(done){
148+
testSurf(getOptions, done);
149+
});
147150
it ("should override set options with user options", function(done){
148151
var userOptions = {service_name: 'OVERRIDDEN_SERVICE_NAME'};
149152
process.env.COVERALLS_SERVICE_NAME = "SERVICE_NAME";
@@ -418,7 +421,7 @@ var testGitlab = function(sut, done) {
418421
});
419422
};
420423

421-
var testGitlab = function(sut, done) {
424+
var testSurf = function(sut, done) {
422425
process.env.CI_NAME = 'surf';
423426
process.env.SURF_SHA1 = "e3e3e3e3e3e3e3e3e";
424427
process.env.SURF_REF = "feature";

0 commit comments

Comments
 (0)