mirror of https://github.com/renovatebot/renovate
17 lines
435 B
TypeScript
17 lines
435 B
TypeScript
import { extractPackageFile } from '.';
|
|
|
|
describe('modules/manager/terragrunt-version/extract', () => {
|
|
describe('extractPackageFile()', () => {
|
|
it('returns a result', () => {
|
|
const res = extractPackageFile('12.0.0\n');
|
|
expect(res.deps).toEqual([
|
|
{
|
|
depName: 'gruntwork-io/terragrunt',
|
|
currentValue: '12.0.0',
|
|
datasource: 'github-releases',
|
|
},
|
|
]);
|
|
});
|
|
});
|
|
});
|