25 lines
669 B
Plaintext
25 lines
669 B
Plaintext
exports[`test Client.js 1`] = `
|
|
"/**
|
|
* 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
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
/**
|
|
* Client imports some but not all modules,
|
|
* triggering/suppressing parse errors.
|
|
* @flow
|
|
*/
|
|
// non-flow files should not give parse errors
|
|
// non-Flow file @providesModule Foo
|
|
// Flow file
|
|
var A = require(\"./Imported\");
|
|
var B = require(\"./ParseError\");
|
|
"
|
|
`;
|