115 lines
3.2 KiB
Plaintext
115 lines
3.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`document.yml 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["yaml"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
# prettier-ignore
|
|
---
|
|
aaaaa:
|
|
bbbbb
|
|
...
|
|
aaaaa:
|
|
bbbbb
|
|
|
|
=====================================output=====================================
|
|
# prettier-ignore
|
|
---
|
|
aaaaa:
|
|
bbbbb
|
|
---
|
|
aaaaa: bbbbb
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`leading-comment.yml 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["yaml"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
abc: 123
|
|
# prettier-ignore
|
|
def: 456
|
|
|
|
=====================================output=====================================
|
|
abc: 123
|
|
# prettier-ignore
|
|
def: 456
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`middle-comment.yml 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["yaml"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
abc: !!str # hello
|
|
123
|
|
# prettier-ignore
|
|
def: !!str # hello
|
|
456
|
|
|
|
=====================================output=====================================
|
|
abc: !!str # hello
|
|
123
|
|
# prettier-ignore
|
|
def: !!str # hello
|
|
456
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`trailing-comma.yml 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["yaml"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
[
|
|
# prettier-ignore
|
|
{ sss }, # 123
|
|
{ qqqq },
|
|
|
|
# prettier-ignore
|
|
[ccc ] # 777
|
|
, [ddd ]
|
|
]
|
|
|
|
=====================================output=====================================
|
|
[
|
|
# prettier-ignore
|
|
{ sss }, # 123
|
|
{ qqqq },
|
|
|
|
# prettier-ignore
|
|
[ccc ], # 777
|
|
[ddd],
|
|
]
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`trailing-comment.yml 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["yaml"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
abc: 123 # hello
|
|
# prettier-ignore
|
|
def: 456 # hello
|
|
|
|
=====================================output=====================================
|
|
abc: 123 # hello
|
|
# prettier-ignore
|
|
def: 456 # hello
|
|
|
|
================================================================================
|
|
`;
|