19 lines
470 B
Plaintext
19 lines
470 B
Plaintext
![]() |
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|||
|
|
|||
|
exports[`do not write file with --write + invalid file 1`] = `
|
|||
|
"invalid.js: SyntaxError: Unexpected token, expected ; (1:6)
|
|||
|
[0m[31m[1m>[22m[39m[90m 1 | [39m[36mthis[39m is invalid[33m![39m
|
|||
|
[90m | [39m [31m[1m^[22m[39m[0m
|
|||
|
"
|
|||
|
`;
|
|||
|
|
|||
|
exports[`write file with --write + unformated file 1`] = `
|
|||
|
Array [
|
|||
|
Object {
|
|||
|
"content": "var x = 1; // eslint-disable-line
|
|||
|
",
|
|||
|
"filename": "unformated.js",
|
|||
|
},
|
|||
|
]
|
|||
|
`;
|