()
| 1 | import { git, silentGit } from './process'; |
| 2 | |
| 3 | export async function gitClean(): Promise<void> { |
| 4 | await silentGit('clean', '-df'); |
| 5 | await silentGit('reset', '--hard'); |
| 6 | } |
| 7 | |
| 8 | export async function expectGitToBeClean(): Promise<void> { |
| 9 | const { stdout } = await silentGit('status', '--porcelain'); |
no test coverage detected