(dir, defaultBranch)
| 39 | } |
| 40 | |
| 41 | function initRepo(dir, defaultBranch) { |
| 42 | git(["init", "-q", "-b", defaultBranch], dir); |
| 43 | git(["config", "user.email", "ghaw-test@example.com"], dir); |
| 44 | git(["config", "user.name", "ghaw test"], dir); |
| 45 | fs.writeFileSync(path.join(dir, "README.md"), "# seed\n"); |
| 46 | git(["add", "."], dir); |
| 47 | git(["commit", "-q", "-m", "seed"], dir); |
| 48 | } |
| 49 | |
| 50 | describe.sequential("apply_samples.cjs", () => { |
| 51 | let tempDir; |
no test coverage detected