mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 21:48:32 +00:00
13 lines
453 B
TypeScript
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);
|
|
});
|
|
});
|
|
});
|