prettier/tests/preserve_line/__snapshots__/jsfmt.spec.js.snap

63 lines
876 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`comments.js 1`] = `
function a() {
const a = 5; // comment
return a;
}
function a() {
const a = 5; /* comment */
return a;
}
function a() {
const a = 5; /* comment */ /* comment */
return a;
}
function a() {
const a = 5; /* comment */ /* comment */ // comment
return a;
}
function a() {
const a = 5; /* comment */ /* comment */ // comment
return a;
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function a() {
const a = 5; // comment
return a;
}
function a() {
const a = 5; /* comment */
return a;
}
function a() {
const a = 5; /* comment */ /* comment */
return a;
}
function a() {
const a = 5; /* comment */ /* comment */ // comment
return a;
}
function a() {
const a = 5; /* comment */ /* comment */ // comment
return a;
}
`;