()
| 25 | } |
| 26 | |
| 27 | async function deleteRepository(): Promise<void> { |
| 28 | const {nameWithOwner} = getRepo()!; |
| 29 | await expectTokenScope('delete_repo'); |
| 30 | await api.v3('/repos/' + nameWithOwner, { |
| 31 | method: 'DELETE', |
| 32 | responseFormat: 'text', |
| 33 | }); |
| 34 | } |
| 35 | |
| 36 | async function modifyUiAfterSuccessfulDeletion(): Promise<void> { |
| 37 | const {nameWithOwner, owner} = getRepo()!; |
nothing calls this directly
no test coverage detected