Files
test-repo/tests/format/misc/front-matter/with-plugins/format.test.js
T

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

31 lines
587 B
JavaScript
Raw Normal View History

2025-09-28 19:36:04 +08:00
import { outdent } from "outdent";
import prettierPluginDummyToml from "../../../../config/prettier-plugins/prettier-plugin-dummy-toml/index.js";
runFormatTest(
{
importMeta: import.meta,
snippets: [
outdent`
+++
TOML Front Matter content
+++
`,
outdent`
---toml
TOML Front Matter content
---
`,
],
},
2025-10-30 22:16:54 +08:00
[
"markdown",
"mdx",
"css",
"scss",
"less",
"html",
// Can't test since it doesn't print new line
// "glimmer",
],
2025-09-28 19:36:04 +08:00
{ plugins: [prettierPluginDummyToml] },
);