You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cli/src/run.test.ts
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ import { error } from "@changesets/logger";
2
2
import{testdir}from"@changesets/test-utils";
3
3
4
4
import{run}from"./run";
5
+
importwriteChangesetfrom"@changesets/write";
5
6
6
7
jest.mock("@changesets/logger");
7
8
jest.mock("./commands/version");
@@ -168,5 +169,59 @@ describe("cli", () => {
168
169
`It looks like you are trying to use the \`--ignore\` option while ignore is defined in the config file. This is currently not allowed, you can only use one of them at a time.`
169
170
);
170
171
});
172
+
173
+
it("should not throw if `prettier: false` is configured",async()=>{
0 commit comments