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

10 lines
226 B
JavaScript

import fs from "node:fs";
import { prettierCli } from "../env.js";
describe("CLI", () => {
test("CLI should be executable.", () => {
expect(() => fs.accessSync(prettierCli, fs.constants.X_OK)).not.toThrow();
});
});