75 lines
1.7 KiB
Plaintext
75 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`after-key.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["flow", "babel"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
let a = {
|
|
a /* comment */: () => 1
|
|
};
|
|
|
|
let b = {
|
|
"a" /* comment */: () => 1
|
|
};
|
|
|
|
=====================================output=====================================
|
|
let a = {
|
|
a /* comment */: () => 1
|
|
};
|
|
|
|
let b = {
|
|
a /* comment */: () => 1
|
|
};
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`comment.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["flow", "babel"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
o = {
|
|
name:
|
|
// Comment A
|
|
// Comment B
|
|
(({id: type}: any): CreativeConcept),
|
|
};
|
|
|
|
o = {
|
|
name: // Comment A
|
|
// Comment B
|
|
(({ id: type }: any): CreativeConcept)
|
|
};
|
|
|
|
o = {
|
|
name: // Comment B // Comment A
|
|
(({ id: type }: any): CreativeConcept)
|
|
};
|
|
|
|
=====================================output=====================================
|
|
o = {
|
|
name:
|
|
// Comment A
|
|
// Comment B
|
|
(({ id: type }: any): CreativeConcept)
|
|
};
|
|
|
|
o = {
|
|
// Comment A
|
|
name:
|
|
// Comment B
|
|
(({ id: type }: any): CreativeConcept)
|
|
};
|
|
|
|
o = {
|
|
// Comment B // Comment A
|
|
name: (({ id: type }: any): CreativeConcept)
|
|
};
|
|
|
|
================================================================================
|
|
`;
|