Skip to content

Commit

Permalink
test: use 404/200 for github preset
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jul 3, 2020
1 parent ed0d418 commit 4506497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/config/presets/github/index.spec.ts
Expand Up @@ -43,9 +43,9 @@ describe(getName(__filename), () => {
httpMock
.scope(githubApiHost)
.get(`${basePath}/default.json`)
.reply(500, {})
.reply(404, {})
.get(`${basePath}/renovate.json`)
.reply(500, {});
.reply(200, {});

await expect(
github.getPreset({ packageName: 'some/repo' })
Expand Down

0 comments on commit 4506497

Please sign in to comment.