prettier/tests_integration/__tests__/__snapshots__/stdin-filepath.js.snap

28 lines
961 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`format correctly if stdin content compatible with stdin-filepath (stderr) 1`] = `""`;
exports[`format correctly if stdin content compatible with stdin-filepath (stdout) 1`] = `
".name {
display: none;
}
"
`;
exports[`format correctly if stdin content compatible with stdin-filepath (write) 1`] = `Array []`;
exports[`output file as-is if stdin-filepath matched patterns in ignore-path (stderr) 1`] = `""`;
exports[`output file as-is if stdin-filepath matched patterns in ignore-path (write) 1`] = `Array []`;
exports[`throw error if stdin content incompatible with stdin-filepath (stderr) 1`] = `
"[error] abc.js: SyntaxError: Unexpected token (1:1)
[error] > 1 | .name { display: none; }
[error] | ^
"
`;
exports[`throw error if stdin content incompatible with stdin-filepath (stdout) 1`] = `""`;
exports[`throw error if stdin content incompatible with stdin-filepath (write) 1`] = `Array []`;