mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 13:48:55 +00:00
b4319928f1
* refactor: strict manager tests * chore: revert changes * Update lib/modules/manager/gradle/extract.spec.ts
16 lines
435 B
TypeScript
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',
|
|
},
|
|
]);
|
|
});
|
|
});
|
|
});
|