mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-07 20:46:36 +00:00
21ff27d5ab
Co-authored-by: Fred Rondina <fred.rondina@daveramsey.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Rhys Arkins <rhys@arkins.net>
17 lines
539 B
TypeScript
17 lines
539 B
TypeScript
import { isGitlabIncludeLocal } from './common';
|
|
|
|
const includeLocal = { local: 'something' };
|
|
const includeProject = { project: 'something' };
|
|
|
|
describe('modules/manager/gitlabci/common', () => {
|
|
describe('isGitlabIncludeLocal()', () => {
|
|
it('returns true if GitlabInclude is GitlabIncludeLocal', () => {
|
|
expect(isGitlabIncludeLocal(includeLocal)).toBe(true);
|
|
});
|
|
|
|
it('returns false if GitlabInclude is not GitlabIncludeLocal', () => {
|
|
expect(isGitlabIncludeLocal(includeProject)).toBe(false);
|
|
});
|
|
});
|
|
});
|