Skip to content

Commit 903cdd1

Browse files
authored
Add export for Prettier core to run tests (#62)
1 parent 502440c commit 903cdd1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/bin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,4 +325,5 @@ const runBin = async (): Promise<void> => {
325325
bin.run();
326326
};
327327

328-
runBin();
328+
// Exposed for test, we can also consider use TLA someday
329+
export const __promise = runBin();

0 commit comments

Comments
 (0)