prettier/tests/flow/parse_error_node/__snapshots__/jsfmt.spec.js.snap

34 lines
1.0 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Client.js 1`] = `
====================================options=====================================
parsers: ["flow"]
printWidth: 80
| printWidth
=====================================input======================================
/**
* Client imports some but not all modules,
* triggering/suppressing parse errors.
* @flow
*/
// non-flow files should not give parse errors
var A = require("./Imported"); // non-Flow file @providesModule Foo
var B = require("./ParseError"); // Flow file
=====================================output=====================================
/**
* Client imports some but not all modules,
* triggering/suppressing parse errors.
* @flow
*/
// non-flow files should not give parse errors
var A = require("./Imported"); // non-Flow file @providesModule Foo
var B = require("./ParseError"); // Flow file
================================================================================
`;