Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
febuiles committed Oct 9, 2023
1 parent ad34390 commit 8dc52cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/dependency-graph.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test('it properly catches RequestError type', async () => {
headRef: 'refs/heads/master'
})
} catch (error) {
expect(error).toBeInstanceOf(RequestError)
const err = error as RequestError
expect(err.status).toBe(401)
}
})

0 comments on commit 8dc52cd

Please sign in to comment.