prettier/tests/unary/__snapshots__/jsfmt.spec.js.snap

68 lines
1.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`object.js 1`] = `
====================================options=====================================
parsers: ["flow", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
state = {
// students
hoverColumn: -1
};
=====================================output=====================================
state = {
// students
hoverColumn: -1
};
================================================================================
`;
exports[`series.js 1`] = `
====================================options=====================================
parsers: ["flow", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
1 + ++x;
1 + x++;
+ ++x;
+ x++;
x++ + 1;
++x + 1;
1 - --x;
1 - x--;
- --x;
- x--;
x-- - 1;
--x - 1;
=====================================output=====================================
1 + ++x;
1 + x++;
+(++x);
+x++;
x++ + 1;
++x + 1;
1 - --x;
1 - x--;
-(--x);
-x--;
x-- - 1;
--x - 1;
================================================================================
`;