invalid-ignore.js 271 B

123456789101112
  1. "use strict";
  2. const runPrettier = require("../runPrettier");
  3. expect.addSnapshotSerializer(require("../path-serializer"));
  4. describe("throw error with invalid ignore", () => {
  5. runPrettier("cli/invalid-ignore", ["something.js"]).test({
  6. status: "non-zero"
  7. });
  8. });