feat: --all flag (#182)

Co-authored-by: Hiroki Osame <hiroki.osame@gmail.com>
This commit is contained in:
Rocktim
2023-04-01 15:49:34 +05:30
committed by GitHub
parent ad2533eb2f
commit ebe83a493e
5 changed files with 55 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ export default testSuite(({ describe }) => {
const { stdout, exitCode } = await aicommits([], { reject: false });
expect(exitCode).toBe(1);
expect(stdout).toMatch('No staged changes found. Make sure to stage your changes with `git add`.');
expect(stdout).toMatch('No staged changes found. Stage your changes manually, or automatically stage all changes with the `--all` flag.');
await fixture.rm();
});
});