2017-02-22 00:59:19 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2019-05-20 15:31:38 +03:00
|
|
|
exports[`binary_and_template.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["babel", "flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
|
|
|
export default (function() {} + foo)\`\`;
|
|
|
|
|
|
|
|
=====================================output=====================================
|
|
|
|
export default (function() {} + foo)\`\`;
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
`;
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`body.js 1`] = `
|
|
|
|
====================================options=====================================
|
2019-05-20 15:31:38 +03:00
|
|
|
parsers: ["babel", "flow", "typescript"]
|
2018-11-25 11:21:14 +03:00
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
export default (class {}[1] = 1);
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-03-08 05:53:42 +03:00
|
|
|
export default (class {}[1] = 1);
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2017-01-23 06:05:33 +03:00
|
|
|
`;
|
2019-05-20 15:31:38 +03:00
|
|
|
|
|
|
|
exports[`class_instance.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["babel", "flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
|
|
|
export default (class {}.getInstance());
|
|
|
|
|
|
|
|
=====================================output=====================================
|
|
|
|
export default (class {}.getInstance());
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`function_in_template.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["babel", "flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
|
|
|
export default (function templ() {})\`foo\`;
|
|
|
|
|
|
|
|
=====================================output=====================================
|
|
|
|
export default (function templ() {})\`foo\`;
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`function_tostring.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["babel", "flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
|
|
|
export default (function() {}).toString();
|
|
|
|
|
|
|
|
=====================================output=====================================
|
|
|
|
export default (function() {}.toString());
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`iife.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["babel", "flow", "typescript"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
|
|
|
export default (function foo() {})();
|
|
|
|
|
|
|
|
=====================================output=====================================
|
|
|
|
export default (function foo() {})();
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
`;
|