Merge pull request #489 from trim21/get-commit-data
Some checks failed
publish / publish (push) Has been cancelled
Some checks failed
publish / publish (push) Has been cancelled
feat: add method to get commit date from git
This commit is contained in:
@@ -279,3 +279,10 @@ describe('tag', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('getCommitDate', () => {
|
||||
it('head', async () => {
|
||||
const date = await Git.commitDate('HEAD');
|
||||
await expect(date).toBeInstanceOf(Date);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user