|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`apply editorconfig for stdin-filepath with a deep path (stderr) 1`] = `""`; |
| 4 | + |
| 5 | +exports[`apply editorconfig for stdin-filepath with a deep path (stderr) 2`] = `""`; |
| 6 | + |
| 7 | +exports[`apply editorconfig for stdin-filepath with a deep path (stdout) 1`] = ` |
| 8 | +"function f() { |
| 9 | + console.log("should be indented with a tab") |
| 10 | +}" |
| 11 | +`; |
| 12 | + |
| 13 | +exports[`apply editorconfig for stdin-filepath with a deep path (stdout) 2`] = ` |
| 14 | +"function f() { |
| 15 | + console.log("should be indented with a tab") |
| 16 | +}" |
| 17 | +`; |
| 18 | + |
| 19 | +exports[`apply editorconfig for stdin-filepath with a deep path (write) 1`] = `[]`; |
| 20 | + |
| 21 | +exports[`apply editorconfig for stdin-filepath with a deep path (write) 2`] = `[]`; |
| 22 | + |
| 23 | +exports[`apply editorconfig for stdin-filepath with nonexistent directory (stderr) 1`] = `""`; |
| 24 | + |
| 25 | +exports[`apply editorconfig for stdin-filepath with nonexistent directory (stdout) 1`] = ` |
| 26 | +"function f() { |
| 27 | + console.log("should be indented with a tab") |
| 28 | +}" |
| 29 | +`; |
| 30 | + |
| 31 | +exports[`apply editorconfig for stdin-filepath with nonexistent directory (write) 1`] = `[]`; |
| 32 | + |
| 33 | +exports[`apply editorconfig for stdin-filepath with nonexistent file (stderr) 1`] = `""`; |
| 34 | + |
| 35 | +exports[`apply editorconfig for stdin-filepath with nonexistent file (stdout) 1`] = ` |
| 36 | +"function f() { |
| 37 | + console.log("should be indented with a tab") |
| 38 | +}" |
| 39 | +`; |
| 40 | + |
| 41 | +exports[`apply editorconfig for stdin-filepath with nonexistent file (write) 1`] = `[]`; |
| 42 | + |
| 43 | +exports[`don’t apply editorconfig outside project for stdin-filepath with nonexistent directory (stderr) 1`] = `""`; |
| 44 | + |
| 45 | +exports[`don’t apply editorconfig outside project for stdin-filepath with nonexistent directory (stdout) 1`] = ` |
| 46 | +"function f() { |
| 47 | + console.log("should be indented with 2 spaces") |
| 48 | +}" |
| 49 | +`; |
| 50 | + |
| 51 | +exports[`don’t apply editorconfig outside project for stdin-filepath with nonexistent directory (write) 1`] = `[]`; |
| 52 | + |
| 53 | +exports[`format correctly if stdin content compatible with stdin-filepath (stderr) 1`] = `""`; |
| 54 | + |
| 55 | +exports[`format correctly if stdin content compatible with stdin-filepath (stdout) 1`] = ` |
| 56 | +".name { |
| 57 | + display: none; |
| 58 | +}" |
| 59 | +`; |
| 60 | + |
| 61 | +exports[`format correctly if stdin content compatible with stdin-filepath (write) 1`] = `[]`; |
| 62 | + |
| 63 | +exports[`gracefully handle stdin-filepath with nonexistent directory (stderr) 1`] = `""`; |
| 64 | + |
| 65 | +exports[`gracefully handle stdin-filepath with nonexistent directory (stdout) 1`] = ` |
| 66 | +".name { |
| 67 | + display: none; |
| 68 | +}" |
| 69 | +`; |
| 70 | + |
| 71 | +exports[`gracefully handle stdin-filepath with nonexistent directory (write) 1`] = `[]`; |
| 72 | + |
| 73 | +exports[`output file as-is if stdin-filepath matched patterns in ignore-path (stderr) 1`] = `""`; |
| 74 | + |
| 75 | +exports[`output file as-is if stdin-filepath matched patterns in ignore-path (write) 1`] = `[]`; |
| 76 | + |
| 77 | +exports[`throw error if stdin content incompatible with stdin-filepath (stderr) 1`] = ` |
| 78 | +"[error] SyntaxError: Unexpected token (1:1) |
| 79 | +[error] > 1 | .name { display: none; } |
| 80 | +[error] | ^" |
| 81 | +`; |
| 82 | + |
| 83 | +exports[`throw error if stdin content incompatible with stdin-filepath (stdout) 1`] = `""`; |
| 84 | + |
| 85 | +exports[`throw error if stdin content incompatible with stdin-filepath (write) 1`] = `[]`; |
0 commit comments