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

36 lines
1.1 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 show parse errors
var A = require("Foo"); // non-Flow file @providesModule Foo
var B = require("./NoProvides"); // non-Flow file
var C = require("./ParseError"); // Flow file
=====================================output=====================================
/**
* Client imports some but not all modules,
* triggering/suppressing parse errors.
* @flow
*/
// non-flow files should not show parse errors
var A = require("Foo"); // non-Flow file @providesModule Foo
var B = require("./NoProvides"); // non-Flow file
var C = require("./ParseError"); // Flow file
================================================================================
`;