Files
test-repo/tests/flow_array_comments/__snapshots__/jsfmt.spec.js.snap
T
Ika 4af3dd4b07 test: improve snapshots (#5521)
- before
  ```
  ${input}${"~".repeat(printWidth)}
  ${output}
  ```
- after
  ```
  ===options===
  ${options}
  ${" ".repeat(printWidth)}| printWidth
  ====input====
  ${input}
  ===output====
  ${output}
  =============
  ```
2018-11-25 16:21:14 +08:00

30 lines
899 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`test.js 1`] = `
====================================options=====================================
parsers: ["flow"]
printWidth: 80
| printWidth
=====================================input======================================
export type FileMetaData = [
/* id */ string,
/* mtime */ number,
/* visited */ 0|1,
/* dependencies */ Array<string>,
];
export type ModuleMetaData = [Path, /* type */ number];
=====================================output=====================================
export type FileMetaData = [
/* id */ string,
/* mtime */ number,
/* visited */ 0 | 1,
/* dependencies */ Array<string>
];
export type ModuleMetaData = [Path, /* type */ number];
================================================================================
`;