prettier/tests/incremental_basic/__snapshots__/jsfmt.spec.js.snap

37 lines
736 B
Plaintext

exports[`test a.js 1`] = `
"// @flow
var a: string = 0;
module.exports = a;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// @flow
var a: string = 0;
module.exports = a;
"
`;
exports[`test b.js 1`] = `
"// @flow
var a = require(\'./a\');
var b: number = a;
module.exports = b;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// @flow
var a = require(\"./a\");
var b: number = a;
module.exports = b;
"
`;
exports[`test c.js 1`] = `
"// @flow
var b = require(\'./b\');
var c: string = b;
module.exports = c;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// @flow
var b = require(\"./b\");
var c: string = b;
module.exports = c;
"
`;