We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a66926 + 3f2c41f commit d292ed8Copy full SHA for d292ed8
test/tests/repository.js
@@ -109,6 +109,16 @@ describe("Repository", function() {
109
});
110
111
112
+ it("can get a reference commit", function() {
113
+ return this.repository.getReferenceCommit("master")
114
+ .then(function(commit) {
115
+ assert.equal(
116
+ "32789a79e71fbc9e04d3eff7425e1771eb595150",
117
+ commit.toString()
118
+ );
119
+ });
120
121
+
122
it("can get the default signature", function() {
123
var sig = this.repository.defaultSignature();
124
0 commit comments