(name: string, content: string, message: string)
| 26 | } |
| 27 | |
| 28 | async function commit(name: string, content: string, message: string) { |
| 29 | await memfs.promises.writeFile(`${DIR}/${name}`, content); |
| 30 | await git.add({ fs: memfs, dir: DIR, filepath: name }); |
| 31 | await git.commit({ fs: memfs, dir: DIR, message, author: AUTHOR }); |
| 32 | } |
| 33 | |
| 34 | describe("statusWith — derived XY codes", () => { |
| 35 | beforeEach(() => vol.reset()); |
no test coverage detected