test('Look at for config with invalid schema', () => {
    const fileExplorer = cosmiconfig('adviser');

    fileExplorer.searchSync = jest.fn(() => {
      return {