* Fix empty file error in json and graphql * fix AST_COMPARE=1 issue * use tests/empty * revert * fix lint
12 lines
262 B
JavaScript
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)
|
|
);
|