Skip to content

Commit

Permalink
test: Update test for new repo refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
btorresgil committed Aug 24, 2020
1 parent 6ef0445 commit c0d6976
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ describe('Community Health App', () => {
.get('/app/installations?per_page=100')
.reply(200, [])

// Refresh repo details first
nock('https://api.github.com')
.get('/repos/my-org/testing-things')
.reply(200, payload.repository)

nock('https://api.github.com')
.get(
'/repos/my-org/testing-things/contents/.github/community_health_assessment.yml',
Expand Down

0 comments on commit c0d6976

Please sign in to comment.