2017-02-22 00:59:19 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`expression.js 1`] = `
|
2017-01-23 01:33:34 +03:00
|
|
|
"() => ({}\`\`);
|
|
|
|
({})\`\`;
|
2017-01-23 06:29:30 +03:00
|
|
|
a = () => ({}).x;
|
2017-03-08 00:24:47 +03:00
|
|
|
({} && a, b);
|
|
|
|
({}::b, 0);
|
|
|
|
({}::b()\`\`[''].c++ && 0 ? 0 : 0, 0);
|
|
|
|
({}(), 0);
|
|
|
|
({} = 0);
|
|
|
|
(({} = 0), 1);
|
2017-01-23 01:33:34 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2017-03-08 05:53:42 +03:00
|
|
|
() => ({}\`\`);
|
2017-03-08 00:24:47 +03:00
|
|
|
({}\`\`);
|
|
|
|
a = () => ({}.x);
|
|
|
|
({} && a, b);
|
|
|
|
({}::b, 0);
|
|
|
|
({}::b()\`\`[\\"\\"].c++ && 0 ? 0 : 0, 0);
|
|
|
|
({}(), 0);
|
|
|
|
({} = 0);
|
|
|
|
({} = 0), 1;
|
2017-01-23 01:33:34 +03:00
|
|
|
"
|
|
|
|
`;
|
2017-01-30 20:54:19 +03:00
|
|
|
|
2017-02-22 00:59:19 +03:00
|
|
|
exports[`method.js 1`] = `
|
2017-02-16 04:52:54 +03:00
|
|
|
"a = { f() {} }
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
a = { f() {} };
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-02-22 00:59:19 +03:00
|
|
|
exports[`range.js 1`] = `
|
2017-01-30 20:54:19 +03:00
|
|
|
"group(
|
|
|
|
concat([
|
2017-02-22 00:59:19 +03:00
|
|
|
\\"(\\",
|
2017-01-30 20:54:19 +03:00
|
|
|
indent(
|
|
|
|
options.tabWidth,
|
2017-02-22 00:59:19 +03:00
|
|
|
concat([line, join(concat([\\",\\", line]), printed)])
|
2017-01-30 20:54:19 +03:00
|
|
|
),
|
2017-02-22 00:59:19 +03:00
|
|
|
options.trailingComma ? \\",\\" : \\"\\",
|
2017-01-30 20:54:19 +03:00
|
|
|
line,
|
2017-02-22 00:59:19 +03:00
|
|
|
\\")\\"
|
2017-01-30 20:54:19 +03:00
|
|
|
]),
|
|
|
|
{shouldBreak: true}
|
|
|
|
)
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
group(
|
|
|
|
concat([
|
2017-02-22 00:59:19 +03:00
|
|
|
\\"(\\",
|
2017-01-30 20:54:19 +03:00
|
|
|
indent(
|
|
|
|
options.tabWidth,
|
2017-02-22 00:59:19 +03:00
|
|
|
concat([line, join(concat([\\",\\", line]), printed)])
|
2017-01-30 20:54:19 +03:00
|
|
|
),
|
2017-02-22 00:59:19 +03:00
|
|
|
options.trailingComma ? \\",\\" : \\"\\",
|
2017-01-30 20:54:19 +03:00
|
|
|
line,
|
2017-02-22 00:59:19 +03:00
|
|
|
\\")\\"
|
2017-01-30 20:54:19 +03:00
|
|
|
]),
|
|
|
|
{ shouldBreak: true }
|
|
|
|
);
|
|
|
|
"
|
|
|
|
`;
|