- before
```
${input}${"~".repeat(printWidth)}
${output}
```
- after
```
===options===
${options}
${" ".repeat(printWidth)}| printWidth
====input====
${input}
===output====
${output}
=============
```
30 lines
899 B
Plaintext
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];
|
|
|
|
================================================================================
|
|
`;
|