Skip to content

Commit c0d6976

Browse files
committed
test: Update test for new repo refresh
1 parent 6ef0445 commit c0d6976

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/index.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ describe('Community Health App', () => {
4343
.get('/app/installations?per_page=100')
4444
.reply(200, [])
4545

46+
// Refresh repo details first
47+
nock('https://api.github.com')
48+
.get('/repos/my-org/testing-things')
49+
.reply(200, payload.repository)
50+
4651
nock('https://api.github.com')
4752
.get(
4853
'/repos/my-org/testing-things/contents/.github/community_health_assessment.yml',

0 commit comments

Comments
 (0)