test: improve snapshots (#5521)

- before
  ```
  ${input}${"~".repeat(printWidth)}
  ${output}
  ```
- after
  ```
  ===options===
  ${options}
  ${" ".repeat(printWidth)}| printWidth
  ====input====
  ${input}
  ===output====
  ${output}
  =============
  ```
This commit is contained in:
Ika authored and GitHub committed 2018-11-25 16:21:14 +08:00
1 parent 66ada24961
commit 4af3dd4b07
872 files changed
+44867 -14081

No files matched your search

@@ -1,10 +1,17 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`foo.js - flow-verify 1`] = `
exports[`foo.js 1`] = `
====================================options=====================================
parsers: ["flow"]
printWidth: 80
| printWidth
=====================================input======================================
var x = require('bar.js');
console.log(x);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=====================================output=====================================
var x = require("bar.js");
console.log(x);
================================================================================
`;