Files
test-repo/tests/empty/jsfmt.spec.js
T
Aakansha Doshi 8ec5432768 Fix empty file error in json and graphql (#4553)
* Fix empty file error in json and graphql

* fix AST_COMPARE=1 issue

* use tests/empty

* revert

* fix lint
2018-06-06 10:41:12 -03:00

12 lines
262 B
JavaScript

const prettier = require("prettier/local");
const parsers = prettier
.getSupportInfo()
.options.find(option => option.name === "parser");
run_spec(
__dirname,
parsers.choices
.filter(choice => !choice.deprecated)
.map(choice => choice.value)
);