Files
test-repo/tests/integration/__tests__/schema.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
311 B
JavaScript
Raw Normal View History

2025-12-01 07:25:25 +08:00
import { generateSchemaData } from "../../../scripts/utilities/generate-schema.js";
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
});