2025-12-01 07:25:25 +08:00
|
|
|
import { generateSchemaData } from "../../../scripts/utilities/generate-schema.js";
|
2023-12-17 19:34:12 +00:00
|
|
|
import prettier from "../../config/prettier-entry.js";
|
2018-04-15 00:06:43 +08:00
|
|
|
|
2022-05-06 09:27:54 +08:00
|
|
|
test("schema", async () => {
|
|
|
|
|
const { options } = await prettier.getSupportInfo();
|
2024-01-22 00:02:31 +08:00
|
|
|
const schema = generateSchemaData(options);
|
2022-05-06 09:27:54 +08:00
|
|
|
|
|
|
|
|
expect(schema).toMatchSnapshot();
|
2018-04-15 00:06:43 +08:00
|
|
|
});
|