Files
test-repo/tests/expression_statement/__snapshots__/jsfmt.spec.js.snap
T
fisker CheungandGeorgii Dolzhykov aa3141c24e Wrap tests in describe (#7934)
* Run `format()` in test function

* Wrap `test`s in `describe`

* Update tests_config/run_spec.js

Co-Authored-By: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-10 19:12:01 +08:00

34 lines
1.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`no_regression.js format 1`] = `
====================================options=====================================
parsers: ["babel", "flow", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
// Ensure no regression.
"use strict";
=====================================output=====================================
// Ensure no regression.
"use strict";
================================================================================
`;
exports[`use_strict.js format 1`] = `
====================================options=====================================
parsers: ["babel", "flow", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
// Parentheses around expression statement should be preserved in this case.
("use strict");
=====================================output=====================================
// Parentheses around expression statement should be preserved in this case.
("use strict");
================================================================================
`;