2017-10-02 19:08:34 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`checks stdin with --debug-check (write) 1`] = `Array []`;
|
|
|
|
|
|
|
|
exports[`doesn't crash when --debug-check is passed (write) 1`] = `Array []`;
|
2017-10-07 12:36:43 +03:00
|
|
|
|
2018-05-30 19:42:26 +03:00
|
|
|
exports[`should not exit non-zero for already prettified code with --debug-check + --list-different (stderr) 1`] = `""`;
|
|
|
|
|
|
|
|
exports[`should not exit non-zero for already prettified code with --debug-check + --list-different (stdout) 1`] = `
|
|
|
|
"issue-4599.js
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`should not exit non-zero for already prettified code with --debug-check + --list-different (write) 1`] = `Array []`;
|
|
|
|
|
2017-10-07 12:36:43 +03:00
|
|
|
exports[`show diff for 2+ error files with --debug-check (stderr) 1`] = `
|
2018-04-25 17:10:22 +03:00
|
|
|
"[error] a.debug-check: prettier(input) !== prettier(prettier(input))
|
2017-12-18 15:22:07 +03:00
|
|
|
[error] Index:
|
2017-10-14 04:17:01 +03:00
|
|
|
[error] ===================================================================
|
2017-12-18 15:22:07 +03:00
|
|
|
[error] ---
|
|
|
|
[error] +++
|
2018-04-25 17:10:22 +03:00
|
|
|
[error] @@ -1,2 +1,4 @@
|
|
|
|
[error] hello
|
|
|
|
[error] hello
|
|
|
|
[error] +hello
|
|
|
|
[error] +hello
|
2017-12-18 15:22:07 +03:00
|
|
|
[error]
|
2018-04-25 17:10:22 +03:00
|
|
|
[error] b.debug-check: prettier(input) !== prettier(prettier(input))
|
2017-12-18 15:22:07 +03:00
|
|
|
[error] Index:
|
2017-10-14 04:17:01 +03:00
|
|
|
[error] ===================================================================
|
2017-12-18 15:22:07 +03:00
|
|
|
[error] ---
|
|
|
|
[error] +++
|
2018-04-25 17:10:22 +03:00
|
|
|
[error] @@ -1,2 +1,4 @@
|
|
|
|
[error] world
|
|
|
|
[error] world
|
|
|
|
[error] +world
|
|
|
|
[error] +world
|
2017-12-18 15:22:07 +03:00
|
|
|
[error]
|
2017-10-07 12:36:43 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2018-05-23 22:55:06 +03:00
|
|
|
exports[`show diff for 2+ error files with --debug-check (stdout) 1`] = `""`;
|
2017-10-07 12:36:43 +03:00
|
|
|
|
|
|
|
exports[`show diff for 2+ error files with --debug-check (write) 1`] = `Array []`;
|