Skip to content

Commit

Permalink
fix(betterer 🐛): api stability
Browse files Browse the repository at this point in the history
  • Loading branch information
phenomnomnominal committed Nov 30, 2024
1 parent 06b297b commit ced23d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cli/init-automerge.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ describe('betterer cli', () => {
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const rootDir = path.resolve(__dirname, '../../');
const gitconfigFile = await readFile(resolve('./.git/config'));
const fixPaths = gitconfigFile.replace(rootDir, '<root>').split(path.win32.sep).join(path.posix.sep);

expect(gitconfigFile.replace(rootDir, '<root>')).toMatchSnapshot();
expect(fixPaths).toMatchSnapshot();

expect(logs).toMatchSnapshot();

Expand Down

0 comments on commit ced23d7

Please sign in to comment.