Skip to content
Snippets Groups Projects
Unverified Commit ea6863b3 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

test: fix config.js test for when it's present (#11466)

parent 62a540c2
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ describe('workers/global/config/parse/file', () => {
});
it('parse and returns empty config if there is no RENOVATE_CONFIG_FILE in env', () => {
expect(file.getConfig({})).toEqual({});
expect(file.getConfig({})).toBeDefined();
});
it('fatal error and exit if error in parsing config.js', () => {
......
......@@ -22,7 +22,7 @@ export function getConfig(env: NodeJS.ProcessEnv): AllConfig {
logger.fatal('No custom config file found on disk');
process.exit(1);
} else {
// Do nothing
// istanbul ignore next: we can ignore this
logger.debug('No config file found on disk - skipping');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment