2017-02-22 00:59:19 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`export.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
/* @flow */
|
2016-12-23 22:31:38 +03:00
|
|
|
exports.x = 1;
|
2017-04-12 23:41:51 +03:00
|
|
|
exports.y = "";
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2016-12-23 22:31:38 +03:00
|
|
|
/* @flow */
|
2016-12-28 05:40:04 +03:00
|
|
|
exports.x = 1;
|
2017-04-12 23:41:51 +03:00
|
|
|
exports.y = "";
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2016-12-23 22:31:38 +03:00
|
|
|
`;
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`import.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
/* @flow */
|
2017-02-22 00:59:19 +03:00
|
|
|
var e = require('./export');
|
2016-12-23 22:31:38 +03:00
|
|
|
var x: string = e.x;
|
|
|
|
var y: number = e.y;
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2016-12-23 22:31:38 +03:00
|
|
|
/* @flow */
|
2017-04-12 23:41:51 +03:00
|
|
|
var e = require("./export");
|
2016-12-23 22:31:38 +03:00
|
|
|
var x: string = e.x;
|
2017-01-11 18:16:38 +03:00
|
|
|
var y: number = e.y;
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2016-12-23 22:31:38 +03:00
|
|
|
`;
|