68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`array.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
const arr1 = [1,2,3,4];
|
|
const arr2 = [1, 2, 3, 4];
|
|
|
|
=====================================output=====================================
|
|
const arr1 = [1, 2, 3, 4];
|
|
const arr2 = [1, 2, 3, 4];
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`array.js 2`] = `
|
|
====================================options=====================================
|
|
bracketSpacing: false
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
const arr1 = [1,2,3,4];
|
|
const arr2 = [1, 2, 3, 4];
|
|
|
|
=====================================output=====================================
|
|
const arr1 = [1, 2, 3, 4];
|
|
const arr2 = [1, 2, 3, 4];
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`object.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
const obj1 = {a:1, b:2, c:3}
|
|
const obj2 = { a:1, b:2, c:3 };
|
|
|
|
=====================================output=====================================
|
|
const obj1 = { a: 1, b: 2, c: 3 };
|
|
const obj2 = { a: 1, b: 2, c: 3 };
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`object.js 2`] = `
|
|
====================================options=====================================
|
|
bracketSpacing: false
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
const obj1 = {a:1, b:2, c:3}
|
|
const obj2 = { a:1, b:2, c:3 };
|
|
|
|
=====================================output=====================================
|
|
const obj1 = {a: 1, b: 2, c: 3};
|
|
const obj2 = {a: 1, b: 2, c: 3};
|
|
|
|
================================================================================
|
|
`;
|