46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`--checks should print the number of files that need formatting (stderr) 1`] = `
|
|
"[warn] unformatted.js
|
|
[warn] unformatted2.js
|
|
[warn] Code style issues found in 2 files. Forgot to run Prettier?
|
|
"
|
|
`;
|
|
|
|
exports[`--checks should print the number of files that need formatting (stdout) 1`] = `
|
|
"Checking formatting...
|
|
"
|
|
`;
|
|
|
|
exports[`--checks should print the number of files that need formatting (write) 1`] = `[]`;
|
|
|
|
exports[`--checks works in CI just as in a non-TTY mode (stderr) 1`] = `
|
|
"[warn] unformatted.js
|
|
[warn] Code style issues found in the above file. Forgot to run Prettier?
|
|
"
|
|
`;
|
|
|
|
exports[`--checks works in CI just as in a non-TTY mode (stderr) 2`] = `
|
|
"[warn] unformatted.js
|
|
[warn] Code style issues found in the above file. Forgot to run Prettier?
|
|
"
|
|
`;
|
|
|
|
exports[`--checks works in CI just as in a non-TTY mode (stdout) 1`] = `
|
|
"Checking formatting...
|
|
"
|
|
`;
|
|
|
|
exports[`--checks works in CI just as in a non-TTY mode (stdout) 2`] = `
|
|
"Checking formatting...
|
|
"
|
|
`;
|
|
|
|
exports[`--checks works in CI just as in a non-TTY mode (write) 1`] = `[]`;
|
|
|
|
exports[`--checks works in CI just as in a non-TTY mode (write) 2`] = `[]`;
|
|
|
|
exports[`checks stdin with --check (write) 1`] = `[]`;
|
|
|
|
exports[`checks stdin with -c (alias for --check) (write) 1`] = `[]`;
|