nodegit: added test code for Signature

This commit is contained in:
Andres Kalle
2018-05-26 01:20:51 +03:00
committed by GitHub
parent b40637f80b
commit 76f8fd660d

View File

@@ -51,3 +51,8 @@ const blameOptions = new Git.BlameOptions();
Git.Branch.lookup(repo, "branch_name", Git.Branch.BRANCH.LOCAL).then((reference) => {
// Use reference
});
const signature = Git.Signature.now("name", "email");
signature.name();
signature.email();
signature.when();