jsfmt.spec.js.snap 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`brackets.js 1`] = `
  3. import {
  4. runTaskForChanged,
  5. description,
  6. someOtherLabel,
  7. thatMakes,
  8. itGo,
  9. multiLine,
  10. andMore,
  11. soWeCanGetItTo80Columns
  12. } from '.';
  13. import {fitsIn, oneLine} from '.';
  14. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. import {
  16. runTaskForChanged,
  17. description,
  18. someOtherLabel,
  19. thatMakes,
  20. itGo,
  21. multiLine,
  22. andMore,
  23. soWeCanGetItTo80Columns
  24. } from ".";
  25. import { fitsIn, oneLine } from ".";
  26. `;
  27. exports[`brackets.js 2`] = `
  28. import {
  29. runTaskForChanged,
  30. description,
  31. someOtherLabel,
  32. thatMakes,
  33. itGo,
  34. multiLine,
  35. andMore,
  36. soWeCanGetItTo80Columns
  37. } from '.';
  38. import {fitsIn, oneLine} from '.';
  39. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  40. import {
  41. runTaskForChanged,
  42. description,
  43. someOtherLabel,
  44. thatMakes,
  45. itGo,
  46. multiLine,
  47. andMore,
  48. soWeCanGetItTo80Columns
  49. } from ".";
  50. import {fitsIn, oneLine} from ".";
  51. `;
  52. exports[`comments.js 1`] = `
  53. import { a //comment1
  54. //comment2
  55. //comment3
  56. as b} from "";
  57. import {
  58. a as //comment1
  59. //comment2
  60. //comment3
  61. b
  62. } from "";
  63. import {
  64. a as //comment2 //comment1
  65. //comment3
  66. b
  67. } from "";
  68. import {
  69. a as //comment3 //comment2 //comment1
  70. b
  71. } from "";
  72. import {
  73. // comment 1
  74. FN1, // comment 2
  75. /* comment 3 */ FN2,
  76. // FN3,
  77. FN4 /* comment 4 */
  78. // FN4,
  79. // FN5
  80. } from "./module";
  81. import {
  82. ExecutionResult,
  83. DocumentNode,
  84. /* tslint:disable */
  85. SelectionSetNode,
  86. /* tslint:enable */
  87. } from 'graphql';
  88. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89. import {
  90. //comment1
  91. //comment2
  92. //comment3
  93. a as b
  94. } from "";
  95. import {
  96. //comment1
  97. //comment2
  98. //comment3
  99. a as b
  100. } from "";
  101. import {
  102. //comment2 //comment1
  103. //comment3
  104. a as b
  105. } from "";
  106. import {
  107. //comment3 //comment2 //comment1
  108. a as b
  109. } from "";
  110. import {
  111. // comment 1
  112. FN1, // comment 2
  113. /* comment 3 */ FN2,
  114. // FN3,
  115. FN4 /* comment 4 */
  116. // FN4,
  117. // FN5
  118. } from "./module";
  119. import {
  120. ExecutionResult,
  121. DocumentNode,
  122. /* tslint:disable */
  123. SelectionSetNode
  124. /* tslint:enable */
  125. } from "graphql";
  126. `;
  127. exports[`comments.js 2`] = `
  128. import { a //comment1
  129. //comment2
  130. //comment3
  131. as b} from "";
  132. import {
  133. a as //comment1
  134. //comment2
  135. //comment3
  136. b
  137. } from "";
  138. import {
  139. a as //comment2 //comment1
  140. //comment3
  141. b
  142. } from "";
  143. import {
  144. a as //comment3 //comment2 //comment1
  145. b
  146. } from "";
  147. import {
  148. // comment 1
  149. FN1, // comment 2
  150. /* comment 3 */ FN2,
  151. // FN3,
  152. FN4 /* comment 4 */
  153. // FN4,
  154. // FN5
  155. } from "./module";
  156. import {
  157. ExecutionResult,
  158. DocumentNode,
  159. /* tslint:disable */
  160. SelectionSetNode,
  161. /* tslint:enable */
  162. } from 'graphql';
  163. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164. import {
  165. //comment1
  166. //comment2
  167. //comment3
  168. a as b
  169. } from "";
  170. import {
  171. //comment1
  172. //comment2
  173. //comment3
  174. a as b
  175. } from "";
  176. import {
  177. //comment2 //comment1
  178. //comment3
  179. a as b
  180. } from "";
  181. import {
  182. //comment3 //comment2 //comment1
  183. a as b
  184. } from "";
  185. import {
  186. // comment 1
  187. FN1, // comment 2
  188. /* comment 3 */ FN2,
  189. // FN3,
  190. FN4 /* comment 4 */
  191. // FN4,
  192. // FN5
  193. } from "./module";
  194. import {
  195. ExecutionResult,
  196. DocumentNode,
  197. /* tslint:disable */
  198. SelectionSetNode
  199. /* tslint:enable */
  200. } from "graphql";
  201. `;
  202. exports[`empty-import.js 1`] = `
  203. import { } from '@types/googlemaps';
  204. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  205. import {} from "@types/googlemaps";
  206. `;
  207. exports[`empty-import.js 2`] = `
  208. import { } from '@types/googlemaps';
  209. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  210. import {} from "@types/googlemaps";
  211. `;
  212. exports[`inline.js 1`] = `
  213. import somethingSuperLongsomethingSuperLong from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  214. import {somethingSuperLongsomethingSuperLong} from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  215. import a, {somethingSuperLongsomethingSuperLong} from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  216. import {a, somethingSuperLongsomethingSuperLong} from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  217. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218. import somethingSuperLongsomethingSuperLong from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  219. import { somethingSuperLongsomethingSuperLong } from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  220. import a, {
  221. somethingSuperLongsomethingSuperLong
  222. } from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  223. import {
  224. a,
  225. somethingSuperLongsomethingSuperLong
  226. } from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  227. `;
  228. exports[`inline.js 2`] = `
  229. import somethingSuperLongsomethingSuperLong from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  230. import {somethingSuperLongsomethingSuperLong} from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  231. import a, {somethingSuperLongsomethingSuperLong} from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  232. import {a, somethingSuperLongsomethingSuperLong} from 'somethingSuperLongsomethingSuperLongsomethingSuperLong'
  233. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  234. import somethingSuperLongsomethingSuperLong from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  235. import {somethingSuperLongsomethingSuperLong} from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  236. import a, {
  237. somethingSuperLongsomethingSuperLong
  238. } from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  239. import {
  240. a,
  241. somethingSuperLongsomethingSuperLong
  242. } from "somethingSuperLongsomethingSuperLongsomethingSuperLong";
  243. `;
  244. exports[`long-line.js 1`] = `
  245. import someCoolUtilWithARatherLongName from '../../../../utils/someCoolUtilWithARatherLongName';
  246. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  247. import someCoolUtilWithARatherLongName from "../../../../utils/someCoolUtilWithARatherLongName";
  248. `;
  249. exports[`long-line.js 2`] = `
  250. import someCoolUtilWithARatherLongName from '../../../../utils/someCoolUtilWithARatherLongName';
  251. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  252. import someCoolUtilWithARatherLongName from "../../../../utils/someCoolUtilWithARatherLongName";
  253. `;
  254. exports[`multiple_standalones.js 1`] = `
  255. import a, * as b from 'a';
  256. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  257. import a, * as b from "a";
  258. `;
  259. exports[`multiple_standalones.js 2`] = `
  260. import a, * as b from 'a';
  261. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  262. import a, * as b from "a";
  263. `;