Skip to content

Commit

Permalink
test: mock docker.defaultRegistryUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 19, 2020
1 parent 78a1443 commit 86b44db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/workers/repository/process/lookup/index.spec.ts
Expand Up @@ -28,7 +28,8 @@ jest.mock('../../../../datasource/git-submodules');

qJson.latestVersion = '1.4.1';

const docker = mocked(datasourceDocker);
const docker = mocked(datasourceDocker) as any;
docker.defaultRegistryUrls = ['https://index.docker.io'];
const gitSubmodules = mocked(datasourceGitSubmodules);

let config: lookup.LookupUpdateConfig;
Expand Down

0 comments on commit 86b44db

Please sign in to comment.