0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/modules/datasource/bazel/schema.spec.ts
2023-04-25 20:08:26 +00:00

13 lines
453 B
TypeScript

import { Fixtures } from '../../../../test/fixtures';
import { BazelModuleMetadata } from './schema';
describe('modules/datasource/bazel/schema', () => {
describe('BazelModuleMetadata', () => {
it('parses metadata', () => {
const metadataJson = Fixtures.get('metadata-with-yanked-versions.json');
const metadata = BazelModuleMetadata.parse(JSON.parse(metadataJson));
expect(metadata.versions).toHaveLength(4);
});
});
});