// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`do not write file with --write + formatted file (stderr) 1`] = `""`;

exports[`do not write file with --write + formatted file (stdout) 1`] = `
"formatted.js 0ms
"
`;

exports[`do not write file with --write + invalid file (stderr) 1`] = `
"[error] invalid.js: SyntaxError: Unexpected token, expected \\";\\" (1:6)
[error] > 1 | this is invalid!
[error]     |      ^
"
`;

exports[`do not write file with --write + invalid file (stdout) 1`] = `
"
"
`;

exports[`write file with --write + unformatted file (stderr) 1`] = `""`;

exports[`write file with --write + unformatted file (stdout) 1`] = `
"unformatted.js 0ms
"
`;

exports[`write file with --write + unformatted file (write) 1`] = `
Array [
  Object {
    "content": "var x = 1;
",
    "filename": "unformatted.js",
  },
]
`;
