2017-02-22 00:59:19 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`body.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
with (a);
|
2017-01-16 20:54:39 +03:00
|
|
|
if (1); else if (2); else;
|
|
|
|
for (;;);
|
|
|
|
while (1);
|
|
|
|
for (var i in o);
|
|
|
|
for (var i of o);
|
|
|
|
do; while(1);
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-01-16 20:54:39 +03:00
|
|
|
with (a);
|
|
|
|
if (1);
|
|
|
|
else if (2);
|
|
|
|
else;
|
|
|
|
for (;;);
|
|
|
|
while (1);
|
|
|
|
for (var i in o);
|
|
|
|
for (var i of o);
|
|
|
|
do;
|
|
|
|
while (1);
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2017-01-16 20:54:39 +03:00
|
|
|
`;
|
2017-04-22 17:57:52 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`no-newline.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-22 17:57:52 +03:00
|
|
|
if (a) {
|
|
|
|
b;
|
|
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
}
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-04-22 17:57:52 +03:00
|
|
|
if (a) {
|
|
|
|
b;
|
|
|
|
}
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2017-04-22 17:57:52 +03:00
|
|
|
`;
|