0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-11 13:48:55 +00:00
renovatebot_renovate/lib/modules/manager/terragrunt-version/extract.spec.ts
Michael Kriese b4319928f1
refactor: strict manager tests (#16155)
* refactor: strict manager tests

* chore: revert changes

* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00

16 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',
},
]);
});
});
});