0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/manager/pip_requirements/index.spec.ts

14 lines
487 B
TypeScript

import { defaultConfig } from '.';
describe('modules/manager/pip_requirements/index', () => {
it('default config file pattern', () => {
const reg = new RegExp(defaultConfig.fileMatch[0]);
expect(reg.test('requirements.txt')).toBe(true);
expect(reg.test('requirements-dev.txt')).toBe(true);
expect(reg.test('requirements.dev.txt')).toBe(true);
expect(reg.test('requirements-dev.pip')).toBe(true);
expect(reg.test('requirements.dev.pip')).toBe(true);
});
});