* 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>
34 lines
1.3 KiB
Plaintext
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");
|
|
|
|
================================================================================
|
|
`;
|