mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
16 lines
508 B
TypeScript
16 lines
508 B
TypeScript
import { extractPackageFile } from './extract';
|
|
|
|
describe('manager/terraform-version/extract', () => {
|
|
describe('extractPackageFile()', () => {
|
|
it('returns a result', () => {
|
|
const res = extractPackageFile('12.0.0\n');
|
|
// FIXME: explicit assert condition
|
|
expect(res.deps).toMatchSnapshot();
|
|
});
|
|
it('skips non ranges', () => {
|
|
const res = extractPackageFile('latest');
|
|
// FIXME: explicit assert condition
|
|
expect(res.deps).toMatchSnapshot();
|
|
});
|
|
});
|
|
});
|