Add missing test for ref getters

This commit is contained in:
Webber 2020-05-01 17:00:53 +02:00 committed by Webber Takken
parent 98a1b078fc
commit 2085eff264

View File

@ -78,6 +78,18 @@ describe('Versioning', () => {
});
});
describe('headRef', () => {
it('does not throw', () => {
expect(() => Versioning.headRef).not.toThrow();
});
});
describe('ref', () => {
it('does not throw', () => {
expect(() => Versioning.ref).not.toThrow();
});
});
describe('descriptionRegex', () => {
it('is a valid regex', () => {
expect(Versioning.descriptionRegex).toBeInstanceOf(RegExp);