mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
13 lines
388 B
TypeScript
13 lines
388 B
TypeScript
import { getName } from '../../test/util';
|
|
import { getOptions } from './definitions';
|
|
|
|
jest.mock('../manager', () => ({
|
|
getManagers: jest.fn(() => new Map().set('testManager', {})),
|
|
}));
|
|
|
|
describe(getName(), () => {
|
|
it('test manager should have no defaultConfig', () => {
|
|
const opts = getOptions();
|
|
expect(opts.filter((o) => o.name === 'testManager')).toEqual([]);
|
|
});
|
|
});
|