mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
11 lines
247 B
JavaScript
11 lines
247 B
JavaScript
import fs from "node:fs";
|
|
import { prettierCliEntry } from "../env.js";
|
|
|
|
describe("CLI", () => {
|
|
test("CLI should be executable.", () => {
|
|
expect(() =>
|
|
fs.accessSync(prettierCliEntry, fs.constants.X_OK),
|
|
).not.toThrow();
|
|
});
|
|
});
|