Files
test-repo/tests/format/yaml/block-literal/format.test.js
T

20 lines
447 B
JavaScript

import { outdent } from "outdent";
const snippets = [
{
code: outdent`
block_with_ideographic_space: |
\u{3000}x
`,
output: outdent`
block_with_ideographic_space: |
\u{3000}x
`,
},
].map((test) => ({ ...test, output: test.output + "\n" }));
runFormatTest({ importMeta: import.meta, snippets }, ["yaml"]);
runFormatTest({ importMeta: import.meta, snippets }, ["yaml"], {
proseWrap: "always",
});