(path: string, content: string, message: string)
| 30 | } |
| 31 | |
| 32 | async function commit(path: string, content: string, message: string): Promise<string> { |
| 33 | await memfs.promises.writeFile(`${DIR}/${path}`, content); |
| 34 | await git.add({ fs: memfs, dir: DIR, filepath: path }); |
| 35 | return git.commit({ fs: memfs, dir: DIR, message, author: AUTHOR }); |
| 36 | } |
| 37 | |
| 38 | describe("branchWith", () => { |
| 39 | beforeEach(() => vol.reset()); |
no test coverage detected