Files
test-repo/tests_integration/__tests__/plugin-preprocess.js
T
Danny McCormick 18b03a31cc Fix tests for Windows and add Azure Pipelines for cross platform CI (#5410)
* Add azure pipelines

* Add gitattributes

* Updating tests to work on Windows or Unix

* Lint

* Cleaning up

* Fixing names

* Clean up naming

* try to consolidate images

* Clean up

* Add back txt to gitattributes
2018-11-14 07:55:50 -05:00

16 lines
366 B
JavaScript

"use strict";
const runPrettier = require("../runPrettier");
const EOL = "\n";
describe("parser preprocess function is used to reshape input text", () => {
runPrettier("plugins/preprocess", ["*.foo", "--plugin=./plugin"], {
ignoreLineEndings: true
}).test({
stdout: "preprocessed:contents" + EOL,
stderr: "",
status: 0,
write: []
});
});