From 4506497ea99d62e947a91daffd8a86440e511b8f Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Fri, 3 Jul 2020 07:05:17 +0200 Subject: [PATCH] test: use 404/200 for github preset --- lib/config/presets/github/index.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config/presets/github/index.spec.ts b/lib/config/presets/github/index.spec.ts index 23186b8dd65d74..cc3ec4516a39ad 100644 --- a/lib/config/presets/github/index.spec.ts +++ b/lib/config/presets/github/index.spec.ts @@ -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' })