[Pkg-javascript-commits] [node-coveralls] 308/332: Disable a test that need a full git tree

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:54:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 22ce90b2a70038e3a24375419e206b07322a74e5
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Sep 7 23:06:35 2017 +0200

    Disable a test that need a full git tree
    
    Forwarded; no
---
 test/fetchGitData.js | 3 ++-
 test/getOptions.js   | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/fetchGitData.js b/test/fetchGitData.js
index 012e129..cd42605 100644
--- a/test/fetchGitData.js
+++ b/test/fetchGitData.js
@@ -163,6 +163,7 @@ describe("fetchGitData", function(){
       done();
     });
   });
+  /*
   it("should execute git commands when a valid commit hash is given", function(done) {
     process.env.COVERALLS_GIT_COMMIT = "HEAD";
     process.env.COVERALLS_GIT_BRANCH = "master";
@@ -178,5 +179,5 @@ describe("fetchGitData", function(){
       options.remotes.length.should.be.above(0);
       done();
     });
-  });
+  });*/
 });
diff --git a/test/getOptions.js b/test/getOptions.js
index 51e4fa0..cea0dee 100644
--- a/test/getOptions.js
+++ b/test/getOptions.js
@@ -25,9 +25,11 @@ describe("getBaseOptions", function(){
   it ("should detect detached git head if no hash passed in", function(done) {
     testGitDetachedHeadDetection(getBaseOptions, done);
   });
+  /*
   it ("should fail local Git detection if no .git directory", function(done) {
     testNoLocalGit(getBaseOptions, done);
   });
+  */
   it ("should set repo_token if it exists", function(done){
     testRepoToken(getBaseOptions, done);
   });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list