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

24 lines
733 B
Plaintext
Raw Normal View History

2017-09-08 10:08:19 +03:00
// 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`] = `
2017-09-08 10:08:19 +03:00
".name {
display: none;
}
"
`;
exports[`format correctly if stdin content compatible with stdin-filepath (write) 1`] = `Array []`;
2017-09-08 10:08:19 +03:00
exports[`throw error if stdin content incompatible with stdin-filepath (stderr) 1`] = `
2017-09-08 10:08:19 +03:00
"stdin: SyntaxError: Unexpected token (1:1)
> 1 | .name { display: none; }
| ^
"
`;
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 []`;