Files
test-repo/tests/integration/__tests__/cli.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
247 B
JavaScript
Raw Normal View History

import fs from "node:fs";
2025-04-23 23:42:19 +08:00
import { prettierCliEntry } from "../env.js";
2020-01-15 22:55:08 +08:00
describe("CLI", () => {
test("CLI should be executable.", () => {
2025-04-23 23:42:19 +08:00
expect(() =>
fs.accessSync(prettierCliEntry, fs.constants.X_OK),
).not.toThrow();
2020-01-15 22:55:08 +08:00
});
});