mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Add missing test for ref getters
This commit is contained in:
parent
98a1b078fc
commit
2085eff264
@ -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', () => {
|
describe('descriptionRegex', () => {
|
||||||
it('is a valid regex', () => {
|
it('is a valid regex', () => {
|
||||||
expect(Versioning.descriptionRegex).toBeInstanceOf(RegExp);
|
expect(Versioning.descriptionRegex).toBeInstanceOf(RegExp);
|
||||||
|
Loading…
Reference in New Issue
Block a user