(repo: string, msg: string)
| 56 | } |
| 57 | |
| 58 | function commitAll(repo: string, msg: string): void { |
| 59 | const env = cleanGitEnv(); |
| 60 | const opts = { cwd: repo, env, stdio: TEST_GIT_STDIO } as const; |
| 61 | execFileSync("git", ["add", "-A"], opts); |
| 62 | execFileSync("git", ["commit", "-q", "-m", msg], opts); |
| 63 | } |
| 64 | |
| 65 | describe("FileSnapshotRestorer", () => { |
| 66 | let tmp: string; |
no test coverage detected
searching dependent graphs…