jsfmt.spec.js.snap 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`binary.js 1`] = `
  3. const funnelSnapshotCard = (report === MY_OVERVIEW &&
  4. !ReportGK.xar_metrics_active_capitol_v2) ||
  5. (report === COMPANY_OVERVIEW &&
  6. !ReportGK.xar_metrics_active_capitol_v2_company_metrics)
  7. ? <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  8. : null;
  9. room = room.map((row, rowIndex) => (
  10. row.map((col, colIndex) => (
  11. (rowIndex === 0 || colIndex === 0 || rowIndex === height || colIndex === width) ? 1 : 0
  12. ))
  13. ))
  14. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. const funnelSnapshotCard =
  16. (report === MY_OVERVIEW && !ReportGK.xar_metrics_active_capitol_v2) ||
  17. (report === COMPANY_OVERVIEW &&
  18. !ReportGK.xar_metrics_active_capitol_v2_company_metrics) ? (
  19. <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  20. ) : null;
  21. room = room.map((row, rowIndex) =>
  22. row.map(
  23. (col, colIndex) =>
  24. rowIndex === 0 ||
  25. colIndex === 0 ||
  26. rowIndex === height ||
  27. colIndex === width
  28. ? 1
  29. : 0
  30. )
  31. );
  32. `;
  33. exports[`binary.js 2`] = `
  34. const funnelSnapshotCard = (report === MY_OVERVIEW &&
  35. !ReportGK.xar_metrics_active_capitol_v2) ||
  36. (report === COMPANY_OVERVIEW &&
  37. !ReportGK.xar_metrics_active_capitol_v2_company_metrics)
  38. ? <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  39. : null;
  40. room = room.map((row, rowIndex) => (
  41. row.map((col, colIndex) => (
  42. (rowIndex === 0 || colIndex === 0 || rowIndex === height || colIndex === width) ? 1 : 0
  43. ))
  44. ))
  45. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46. const funnelSnapshotCard =
  47. (report === MY_OVERVIEW && !ReportGK.xar_metrics_active_capitol_v2) ||
  48. (report === COMPANY_OVERVIEW &&
  49. !ReportGK.xar_metrics_active_capitol_v2_company_metrics) ? (
  50. <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  51. ) : null;
  52. room = room.map((row, rowIndex) =>
  53. row.map(
  54. (col, colIndex) =>
  55. rowIndex === 0 ||
  56. colIndex === 0 ||
  57. rowIndex === height ||
  58. colIndex === width
  59. ? 1
  60. : 0
  61. )
  62. );
  63. `;
  64. exports[`binary.js 3`] = `
  65. const funnelSnapshotCard = (report === MY_OVERVIEW &&
  66. !ReportGK.xar_metrics_active_capitol_v2) ||
  67. (report === COMPANY_OVERVIEW &&
  68. !ReportGK.xar_metrics_active_capitol_v2_company_metrics)
  69. ? <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  70. : null;
  71. room = room.map((row, rowIndex) => (
  72. row.map((col, colIndex) => (
  73. (rowIndex === 0 || colIndex === 0 || rowIndex === height || colIndex === width) ? 1 : 0
  74. ))
  75. ))
  76. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  77. const funnelSnapshotCard =
  78. (report === MY_OVERVIEW && !ReportGK.xar_metrics_active_capitol_v2) ||
  79. (report === COMPANY_OVERVIEW &&
  80. !ReportGK.xar_metrics_active_capitol_v2_company_metrics) ? (
  81. <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  82. ) : null;
  83. room = room.map((row, rowIndex) =>
  84. row.map(
  85. (col, colIndex) =>
  86. rowIndex === 0 ||
  87. colIndex === 0 ||
  88. rowIndex === height ||
  89. colIndex === width
  90. ? 1
  91. : 0
  92. )
  93. );
  94. `;
  95. exports[`binary.js 4`] = `
  96. const funnelSnapshotCard = (report === MY_OVERVIEW &&
  97. !ReportGK.xar_metrics_active_capitol_v2) ||
  98. (report === COMPANY_OVERVIEW &&
  99. !ReportGK.xar_metrics_active_capitol_v2_company_metrics)
  100. ? <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  101. : null;
  102. room = room.map((row, rowIndex) => (
  103. row.map((col, colIndex) => (
  104. (rowIndex === 0 || colIndex === 0 || rowIndex === height || colIndex === width) ? 1 : 0
  105. ))
  106. ))
  107. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  108. const funnelSnapshotCard =
  109. (report === MY_OVERVIEW && !ReportGK.xar_metrics_active_capitol_v2) ||
  110. (report === COMPANY_OVERVIEW &&
  111. !ReportGK.xar_metrics_active_capitol_v2_company_metrics) ? (
  112. <ReportMetricsFunnelSnapshotCard metrics={metrics} />
  113. ) : null;
  114. room = room.map((row, rowIndex) =>
  115. row.map(
  116. (col, colIndex) =>
  117. rowIndex === 0 ||
  118. colIndex === 0 ||
  119. rowIndex === height ||
  120. colIndex === width
  121. ? 1
  122. : 0
  123. )
  124. );
  125. `;
  126. exports[`indent.js 1`] = `
  127. aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg
  128. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  129. ?
  130. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  131. ?
  132. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  133. ?
  134. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  135. :
  136. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  137. :
  138. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  139. :
  140. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  141. a
  142. ? {
  143. a: 0
  144. }
  145. : {
  146. a: {
  147. a: 0
  148. }
  149. ? {
  150. a: 0
  151. }
  152. : {
  153. y: {
  154. a: 0
  155. }
  156. ? {
  157. a: 0
  158. }
  159. : {
  160. a: 0
  161. }
  162. }
  163. }
  164. a
  165. ? {
  166. a: function() {
  167. return a
  168. ? {
  169. a: [
  170. a
  171. ? {
  172. a: 0,
  173. b: [
  174. a
  175. ? [
  176. 0,
  177. 1
  178. ]
  179. : []
  180. ]
  181. }
  182. : [
  183. [
  184. 0,
  185. {
  186. a: 0
  187. },
  188. a
  189. ? 0
  190. : 1
  191. ],
  192. function() {
  193. return a
  194. ? {
  195. a: 0
  196. }
  197. : [
  198. {
  199. a: 0
  200. },
  201. {}
  202. ];
  203. }
  204. ]
  205. ]
  206. }
  207. : [
  208. a
  209. ? function() {
  210. a
  211. ? a(
  212. a
  213. ? {
  214. a: a(
  215. {
  216. a: 0
  217. }
  218. )
  219. }
  220. : [
  221. 0,
  222. a(),
  223. a(
  224. a(),
  225. {
  226. a: 0
  227. },
  228. a
  229. ? a()
  230. : a(
  231. {
  232. a: 0
  233. }
  234. )
  235. ),
  236. a()
  237. ? {
  238. a: a(),
  239. b: []
  240. }
  241. : {}
  242. ]
  243. ):
  244. a(
  245. a()
  246. ? {
  247. a: 0
  248. }
  249. : (function(a) {
  250. return a()
  251. ? [
  252. {
  253. a: 0,
  254. b: a()
  255. }
  256. ]
  257. : a(
  258. [
  259. a
  260. ? {
  261. a: 0
  262. }
  263. : {},
  264. {
  265. a: 0
  266. }
  267. ]
  268. );
  269. })(
  270. a
  271. ? function(a) {
  272. return function() {
  273. return 0;
  274. };
  275. }
  276. : function(a) {
  277. return function() {
  278. return 1;
  279. }
  280. }
  281. )
  282. );
  283. }
  284. : function() {
  285. }
  286. ];
  287. }
  288. }
  289. : a;
  290. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  291. aaaaaaaaaaaaaaa
  292. ? bbbbbbbbbbbbbbbbbb
  293. : ccccccccccccccc
  294. ? ddddddddddddddd
  295. : eeeeeeeeeeeeeee
  296. ? fffffffffffffff
  297. : gggggggggggggggg;
  298. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  299. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  300. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  301. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  302. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  303. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  304. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
  305. a
  306. ? {
  307. a: 0
  308. }
  309. : {
  310. a: {
  311. a: 0
  312. }
  313. ? {
  314. a: 0
  315. }
  316. : {
  317. y: {
  318. a: 0
  319. }
  320. ? {
  321. a: 0
  322. }
  323. : {
  324. a: 0
  325. }
  326. }
  327. };
  328. a
  329. ? {
  330. a: function() {
  331. return a
  332. ? {
  333. a: [
  334. a
  335. ? {
  336. a: 0,
  337. b: [a ? [0, 1] : []]
  338. }
  339. : [
  340. [
  341. 0,
  342. {
  343. a: 0
  344. },
  345. a ? 0 : 1
  346. ],
  347. function() {
  348. return a
  349. ? {
  350. a: 0
  351. }
  352. : [
  353. {
  354. a: 0
  355. },
  356. {}
  357. ];
  358. }
  359. ]
  360. ]
  361. }
  362. : [
  363. a
  364. ? function() {
  365. a
  366. ? a(
  367. a
  368. ? {
  369. a: a({
  370. a: 0
  371. })
  372. }
  373. : [
  374. 0,
  375. a(),
  376. a(
  377. a(),
  378. {
  379. a: 0
  380. },
  381. a
  382. ? a()
  383. : a({
  384. a: 0
  385. })
  386. ),
  387. a()
  388. ? {
  389. a: a(),
  390. b: []
  391. }
  392. : {}
  393. ]
  394. )
  395. : a(
  396. a()
  397. ? {
  398. a: 0
  399. }
  400. : (function(a) {
  401. return a()
  402. ? [
  403. {
  404. a: 0,
  405. b: a()
  406. }
  407. ]
  408. : a([
  409. a
  410. ? {
  411. a: 0
  412. }
  413. : {},
  414. {
  415. a: 0
  416. }
  417. ]);
  418. })(
  419. a
  420. ? function(a) {
  421. return function() {
  422. return 0;
  423. };
  424. }
  425. : function(a) {
  426. return function() {
  427. return 1;
  428. };
  429. }
  430. )
  431. );
  432. }
  433. : function() {}
  434. ];
  435. }
  436. }
  437. : a;
  438. `;
  439. exports[`indent.js 2`] = `
  440. aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg
  441. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  442. ?
  443. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  444. ?
  445. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  446. ?
  447. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  448. :
  449. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  450. :
  451. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  452. :
  453. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  454. a
  455. ? {
  456. a: 0
  457. }
  458. : {
  459. a: {
  460. a: 0
  461. }
  462. ? {
  463. a: 0
  464. }
  465. : {
  466. y: {
  467. a: 0
  468. }
  469. ? {
  470. a: 0
  471. }
  472. : {
  473. a: 0
  474. }
  475. }
  476. }
  477. a
  478. ? {
  479. a: function() {
  480. return a
  481. ? {
  482. a: [
  483. a
  484. ? {
  485. a: 0,
  486. b: [
  487. a
  488. ? [
  489. 0,
  490. 1
  491. ]
  492. : []
  493. ]
  494. }
  495. : [
  496. [
  497. 0,
  498. {
  499. a: 0
  500. },
  501. a
  502. ? 0
  503. : 1
  504. ],
  505. function() {
  506. return a
  507. ? {
  508. a: 0
  509. }
  510. : [
  511. {
  512. a: 0
  513. },
  514. {}
  515. ];
  516. }
  517. ]
  518. ]
  519. }
  520. : [
  521. a
  522. ? function() {
  523. a
  524. ? a(
  525. a
  526. ? {
  527. a: a(
  528. {
  529. a: 0
  530. }
  531. )
  532. }
  533. : [
  534. 0,
  535. a(),
  536. a(
  537. a(),
  538. {
  539. a: 0
  540. },
  541. a
  542. ? a()
  543. : a(
  544. {
  545. a: 0
  546. }
  547. )
  548. ),
  549. a()
  550. ? {
  551. a: a(),
  552. b: []
  553. }
  554. : {}
  555. ]
  556. ):
  557. a(
  558. a()
  559. ? {
  560. a: 0
  561. }
  562. : (function(a) {
  563. return a()
  564. ? [
  565. {
  566. a: 0,
  567. b: a()
  568. }
  569. ]
  570. : a(
  571. [
  572. a
  573. ? {
  574. a: 0
  575. }
  576. : {},
  577. {
  578. a: 0
  579. }
  580. ]
  581. );
  582. })(
  583. a
  584. ? function(a) {
  585. return function() {
  586. return 0;
  587. };
  588. }
  589. : function(a) {
  590. return function() {
  591. return 1;
  592. }
  593. }
  594. )
  595. );
  596. }
  597. : function() {
  598. }
  599. ];
  600. }
  601. }
  602. : a;
  603. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  604. aaaaaaaaaaaaaaa
  605. ? bbbbbbbbbbbbbbbbbb
  606. : ccccccccccccccc
  607. ? ddddddddddddddd
  608. : eeeeeeeeeeeeeee
  609. ? fffffffffffffff
  610. : gggggggggggggggg;
  611. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  612. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  613. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  614. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  615. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  616. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  617. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
  618. a
  619. ? {
  620. a: 0
  621. }
  622. : {
  623. a: {
  624. a: 0
  625. }
  626. ? {
  627. a: 0
  628. }
  629. : {
  630. y: {
  631. a: 0
  632. }
  633. ? {
  634. a: 0
  635. }
  636. : {
  637. a: 0
  638. }
  639. }
  640. };
  641. a
  642. ? {
  643. a: function() {
  644. return a
  645. ? {
  646. a: [
  647. a
  648. ? {
  649. a: 0,
  650. b: [a ? [0, 1] : []]
  651. }
  652. : [
  653. [
  654. 0,
  655. {
  656. a: 0
  657. },
  658. a ? 0 : 1
  659. ],
  660. function() {
  661. return a
  662. ? {
  663. a: 0
  664. }
  665. : [
  666. {
  667. a: 0
  668. },
  669. {}
  670. ];
  671. }
  672. ]
  673. ]
  674. }
  675. : [
  676. a
  677. ? function() {
  678. a
  679. ? a(
  680. a
  681. ? {
  682. a: a({
  683. a: 0
  684. })
  685. }
  686. : [
  687. 0,
  688. a(),
  689. a(
  690. a(),
  691. {
  692. a: 0
  693. },
  694. a
  695. ? a()
  696. : a({
  697. a: 0
  698. })
  699. ),
  700. a()
  701. ? {
  702. a: a(),
  703. b: []
  704. }
  705. : {}
  706. ]
  707. )
  708. : a(
  709. a()
  710. ? {
  711. a: 0
  712. }
  713. : (function(a) {
  714. return a()
  715. ? [
  716. {
  717. a: 0,
  718. b: a()
  719. }
  720. ]
  721. : a([
  722. a
  723. ? {
  724. a: 0
  725. }
  726. : {},
  727. {
  728. a: 0
  729. }
  730. ]);
  731. })(
  732. a
  733. ? function(a) {
  734. return function() {
  735. return 0;
  736. };
  737. }
  738. : function(a) {
  739. return function() {
  740. return 1;
  741. };
  742. }
  743. )
  744. );
  745. }
  746. : function() {}
  747. ];
  748. }
  749. }
  750. : a;
  751. `;
  752. exports[`indent.js 3`] = `
  753. aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg
  754. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  755. ?
  756. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  757. ?
  758. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  759. ?
  760. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  761. :
  762. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  763. :
  764. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  765. :
  766. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  767. a
  768. ? {
  769. a: 0
  770. }
  771. : {
  772. a: {
  773. a: 0
  774. }
  775. ? {
  776. a: 0
  777. }
  778. : {
  779. y: {
  780. a: 0
  781. }
  782. ? {
  783. a: 0
  784. }
  785. : {
  786. a: 0
  787. }
  788. }
  789. }
  790. a
  791. ? {
  792. a: function() {
  793. return a
  794. ? {
  795. a: [
  796. a
  797. ? {
  798. a: 0,
  799. b: [
  800. a
  801. ? [
  802. 0,
  803. 1
  804. ]
  805. : []
  806. ]
  807. }
  808. : [
  809. [
  810. 0,
  811. {
  812. a: 0
  813. },
  814. a
  815. ? 0
  816. : 1
  817. ],
  818. function() {
  819. return a
  820. ? {
  821. a: 0
  822. }
  823. : [
  824. {
  825. a: 0
  826. },
  827. {}
  828. ];
  829. }
  830. ]
  831. ]
  832. }
  833. : [
  834. a
  835. ? function() {
  836. a
  837. ? a(
  838. a
  839. ? {
  840. a: a(
  841. {
  842. a: 0
  843. }
  844. )
  845. }
  846. : [
  847. 0,
  848. a(),
  849. a(
  850. a(),
  851. {
  852. a: 0
  853. },
  854. a
  855. ? a()
  856. : a(
  857. {
  858. a: 0
  859. }
  860. )
  861. ),
  862. a()
  863. ? {
  864. a: a(),
  865. b: []
  866. }
  867. : {}
  868. ]
  869. ):
  870. a(
  871. a()
  872. ? {
  873. a: 0
  874. }
  875. : (function(a) {
  876. return a()
  877. ? [
  878. {
  879. a: 0,
  880. b: a()
  881. }
  882. ]
  883. : a(
  884. [
  885. a
  886. ? {
  887. a: 0
  888. }
  889. : {},
  890. {
  891. a: 0
  892. }
  893. ]
  894. );
  895. })(
  896. a
  897. ? function(a) {
  898. return function() {
  899. return 0;
  900. };
  901. }
  902. : function(a) {
  903. return function() {
  904. return 1;
  905. }
  906. }
  907. )
  908. );
  909. }
  910. : function() {
  911. }
  912. ];
  913. }
  914. }
  915. : a;
  916. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  917. aaaaaaaaaaaaaaa
  918. ? bbbbbbbbbbbbbbbbbb
  919. : ccccccccccccccc
  920. ? ddddddddddddddd
  921. : eeeeeeeeeeeeeee
  922. ? fffffffffffffff
  923. : gggggggggggggggg;
  924. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  925. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  926. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  927. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  928. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  929. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  930. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
  931. a
  932. ? {
  933. a: 0
  934. }
  935. : {
  936. a: {
  937. a: 0
  938. }
  939. ? {
  940. a: 0
  941. }
  942. : {
  943. y: {
  944. a: 0
  945. }
  946. ? {
  947. a: 0
  948. }
  949. : {
  950. a: 0
  951. }
  952. }
  953. };
  954. a
  955. ? {
  956. a: function() {
  957. return a
  958. ? {
  959. a: [
  960. a
  961. ? {
  962. a: 0,
  963. b: [a ? [0, 1] : []]
  964. }
  965. : [
  966. [
  967. 0,
  968. {
  969. a: 0
  970. },
  971. a ? 0 : 1
  972. ],
  973. function() {
  974. return a
  975. ? {
  976. a: 0
  977. }
  978. : [
  979. {
  980. a: 0
  981. },
  982. {}
  983. ];
  984. }
  985. ]
  986. ]
  987. }
  988. : [
  989. a
  990. ? function() {
  991. a
  992. ? a(
  993. a
  994. ? {
  995. a: a({
  996. a: 0
  997. })
  998. }
  999. : [
  1000. 0,
  1001. a(),
  1002. a(
  1003. a(),
  1004. {
  1005. a: 0
  1006. },
  1007. a
  1008. ? a()
  1009. : a({
  1010. a: 0
  1011. })
  1012. ),
  1013. a()
  1014. ? {
  1015. a: a(),
  1016. b: []
  1017. }
  1018. : {}
  1019. ]
  1020. )
  1021. : a(
  1022. a()
  1023. ? {
  1024. a: 0
  1025. }
  1026. : (function(a) {
  1027. return a()
  1028. ? [
  1029. {
  1030. a: 0,
  1031. b: a()
  1032. }
  1033. ]
  1034. : a([
  1035. a
  1036. ? {
  1037. a: 0
  1038. }
  1039. : {},
  1040. {
  1041. a: 0
  1042. }
  1043. ]);
  1044. })(
  1045. a
  1046. ? function(a) {
  1047. return function() {
  1048. return 0;
  1049. };
  1050. }
  1051. : function(a) {
  1052. return function() {
  1053. return 1;
  1054. };
  1055. }
  1056. )
  1057. );
  1058. }
  1059. : function() {}
  1060. ];
  1061. }
  1062. }
  1063. : a;
  1064. `;
  1065. exports[`indent.js 4`] = `
  1066. aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg
  1067. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1068. ?
  1069. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1070. ?
  1071. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1072. ?
  1073. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1074. :
  1075. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1076. :
  1077. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1078. :
  1079. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1080. a
  1081. ? {
  1082. a: 0
  1083. }
  1084. : {
  1085. a: {
  1086. a: 0
  1087. }
  1088. ? {
  1089. a: 0
  1090. }
  1091. : {
  1092. y: {
  1093. a: 0
  1094. }
  1095. ? {
  1096. a: 0
  1097. }
  1098. : {
  1099. a: 0
  1100. }
  1101. }
  1102. }
  1103. a
  1104. ? {
  1105. a: function() {
  1106. return a
  1107. ? {
  1108. a: [
  1109. a
  1110. ? {
  1111. a: 0,
  1112. b: [
  1113. a
  1114. ? [
  1115. 0,
  1116. 1
  1117. ]
  1118. : []
  1119. ]
  1120. }
  1121. : [
  1122. [
  1123. 0,
  1124. {
  1125. a: 0
  1126. },
  1127. a
  1128. ? 0
  1129. : 1
  1130. ],
  1131. function() {
  1132. return a
  1133. ? {
  1134. a: 0
  1135. }
  1136. : [
  1137. {
  1138. a: 0
  1139. },
  1140. {}
  1141. ];
  1142. }
  1143. ]
  1144. ]
  1145. }
  1146. : [
  1147. a
  1148. ? function() {
  1149. a
  1150. ? a(
  1151. a
  1152. ? {
  1153. a: a(
  1154. {
  1155. a: 0
  1156. }
  1157. )
  1158. }
  1159. : [
  1160. 0,
  1161. a(),
  1162. a(
  1163. a(),
  1164. {
  1165. a: 0
  1166. },
  1167. a
  1168. ? a()
  1169. : a(
  1170. {
  1171. a: 0
  1172. }
  1173. )
  1174. ),
  1175. a()
  1176. ? {
  1177. a: a(),
  1178. b: []
  1179. }
  1180. : {}
  1181. ]
  1182. ):
  1183. a(
  1184. a()
  1185. ? {
  1186. a: 0
  1187. }
  1188. : (function(a) {
  1189. return a()
  1190. ? [
  1191. {
  1192. a: 0,
  1193. b: a()
  1194. }
  1195. ]
  1196. : a(
  1197. [
  1198. a
  1199. ? {
  1200. a: 0
  1201. }
  1202. : {},
  1203. {
  1204. a: 0
  1205. }
  1206. ]
  1207. );
  1208. })(
  1209. a
  1210. ? function(a) {
  1211. return function() {
  1212. return 0;
  1213. };
  1214. }
  1215. : function(a) {
  1216. return function() {
  1217. return 1;
  1218. }
  1219. }
  1220. )
  1221. );
  1222. }
  1223. : function() {
  1224. }
  1225. ];
  1226. }
  1227. }
  1228. : a;
  1229. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1230. aaaaaaaaaaaaaaa
  1231. ? bbbbbbbbbbbbbbbbbb
  1232. : ccccccccccccccc
  1233. ? ddddddddddddddd
  1234. : eeeeeeeeeeeeeee
  1235. ? fffffffffffffff
  1236. : gggggggggggggggg;
  1237. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1238. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1239. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1240. ? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1241. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1242. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  1243. : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
  1244. a
  1245. ? {
  1246. a: 0
  1247. }
  1248. : {
  1249. a: {
  1250. a: 0
  1251. }
  1252. ? {
  1253. a: 0
  1254. }
  1255. : {
  1256. y: {
  1257. a: 0
  1258. }
  1259. ? {
  1260. a: 0
  1261. }
  1262. : {
  1263. a: 0
  1264. }
  1265. }
  1266. };
  1267. a
  1268. ? {
  1269. a: function() {
  1270. return a
  1271. ? {
  1272. a: [
  1273. a
  1274. ? {
  1275. a: 0,
  1276. b: [a ? [0, 1] : []]
  1277. }
  1278. : [
  1279. [
  1280. 0,
  1281. {
  1282. a: 0
  1283. },
  1284. a ? 0 : 1
  1285. ],
  1286. function() {
  1287. return a
  1288. ? {
  1289. a: 0
  1290. }
  1291. : [
  1292. {
  1293. a: 0
  1294. },
  1295. {}
  1296. ];
  1297. }
  1298. ]
  1299. ]
  1300. }
  1301. : [
  1302. a
  1303. ? function() {
  1304. a
  1305. ? a(
  1306. a
  1307. ? {
  1308. a: a({
  1309. a: 0
  1310. })
  1311. }
  1312. : [
  1313. 0,
  1314. a(),
  1315. a(
  1316. a(),
  1317. {
  1318. a: 0
  1319. },
  1320. a
  1321. ? a()
  1322. : a({
  1323. a: 0
  1324. })
  1325. ),
  1326. a()
  1327. ? {
  1328. a: a(),
  1329. b: []
  1330. }
  1331. : {}
  1332. ]
  1333. )
  1334. : a(
  1335. a()
  1336. ? {
  1337. a: 0
  1338. }
  1339. : (function(a) {
  1340. return a()
  1341. ? [
  1342. {
  1343. a: 0,
  1344. b: a()
  1345. }
  1346. ]
  1347. : a([
  1348. a
  1349. ? {
  1350. a: 0
  1351. }
  1352. : {},
  1353. {
  1354. a: 0
  1355. }
  1356. ]);
  1357. })(
  1358. a
  1359. ? function(
  1360. a
  1361. ) {
  1362. return function() {
  1363. return 0;
  1364. };
  1365. }
  1366. : function(
  1367. a
  1368. ) {
  1369. return function() {
  1370. return 1;
  1371. };
  1372. }
  1373. )
  1374. );
  1375. }
  1376. : function() {}
  1377. ];
  1378. }
  1379. }
  1380. : a;
  1381. `;
  1382. exports[`nested.js 1`] = `
  1383. let icecream = what == "cone"
  1384. ? p => !!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`
  1385. : p => \`here's your \${p} \${what}\`;
  1386. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1387. let icecream =
  1388. what == "cone"
  1389. ? p => (!!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`)
  1390. : p => \`here's your \${p} \${what}\`;
  1391. `;
  1392. exports[`nested.js 2`] = `
  1393. let icecream = what == "cone"
  1394. ? p => !!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`
  1395. : p => \`here's your \${p} \${what}\`;
  1396. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1397. let icecream =
  1398. what == "cone"
  1399. ? p => (!!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`)
  1400. : p => \`here's your \${p} \${what}\`;
  1401. `;
  1402. exports[`nested.js 3`] = `
  1403. let icecream = what == "cone"
  1404. ? p => !!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`
  1405. : p => \`here's your \${p} \${what}\`;
  1406. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1407. let icecream =
  1408. what == "cone"
  1409. ? p => (!!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`)
  1410. : p => \`here's your \${p} \${what}\`;
  1411. `;
  1412. exports[`nested.js 4`] = `
  1413. let icecream = what == "cone"
  1414. ? p => !!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`
  1415. : p => \`here's your \${p} \${what}\`;
  1416. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1417. let icecream =
  1418. what == "cone"
  1419. ? p => (!!p ? \`here's your \${p} cone\` : \`just the empty cone for you\`)
  1420. : p => \`here's your \${p} \${what}\`;
  1421. `;
  1422. exports[`parenthesis.js 1`] = `
  1423. debug ? this.state.isVisible ? "partially visible" : "hidden" : null;
  1424. debug ? this.state.isVisible && somethingComplex ? "partially visible" : "hidden" : null;
  1425. a => a ? () => {a} : () => {a}
  1426. a => a ? a : a
  1427. a => a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a
  1428. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1429. debug ? (this.state.isVisible ? "partially visible" : "hidden") : null;
  1430. debug
  1431. ? this.state.isVisible && somethingComplex
  1432. ? "partially visible"
  1433. : "hidden"
  1434. : null;
  1435. a =>
  1436. a
  1437. ? () => {
  1438. a;
  1439. }
  1440. : () => {
  1441. a;
  1442. };
  1443. a => (a ? a : a);
  1444. a =>
  1445. a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a;
  1446. `;
  1447. exports[`parenthesis.js 2`] = `
  1448. debug ? this.state.isVisible ? "partially visible" : "hidden" : null;
  1449. debug ? this.state.isVisible && somethingComplex ? "partially visible" : "hidden" : null;
  1450. a => a ? () => {a} : () => {a}
  1451. a => a ? a : a
  1452. a => a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a
  1453. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1454. debug ? (this.state.isVisible ? "partially visible" : "hidden") : null;
  1455. debug
  1456. ? this.state.isVisible && somethingComplex
  1457. ? "partially visible"
  1458. : "hidden"
  1459. : null;
  1460. a =>
  1461. a
  1462. ? () => {
  1463. a;
  1464. }
  1465. : () => {
  1466. a;
  1467. };
  1468. a => (a ? a : a);
  1469. a =>
  1470. a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a;
  1471. `;
  1472. exports[`parenthesis.js 3`] = `
  1473. debug ? this.state.isVisible ? "partially visible" : "hidden" : null;
  1474. debug ? this.state.isVisible && somethingComplex ? "partially visible" : "hidden" : null;
  1475. a => a ? () => {a} : () => {a}
  1476. a => a ? a : a
  1477. a => a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a
  1478. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1479. debug ? (this.state.isVisible ? "partially visible" : "hidden") : null;
  1480. debug
  1481. ? this.state.isVisible && somethingComplex
  1482. ? "partially visible"
  1483. : "hidden"
  1484. : null;
  1485. a =>
  1486. a
  1487. ? () => {
  1488. a;
  1489. }
  1490. : () => {
  1491. a;
  1492. };
  1493. a => (a ? a : a);
  1494. a =>
  1495. a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a;
  1496. `;
  1497. exports[`parenthesis.js 4`] = `
  1498. debug ? this.state.isVisible ? "partially visible" : "hidden" : null;
  1499. debug ? this.state.isVisible && somethingComplex ? "partially visible" : "hidden" : null;
  1500. a => a ? () => {a} : () => {a}
  1501. a => a ? a : a
  1502. a => a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a
  1503. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1504. debug ? (this.state.isVisible ? "partially visible" : "hidden") : null;
  1505. debug
  1506. ? this.state.isVisible && somethingComplex
  1507. ? "partially visible"
  1508. : "hidden"
  1509. : null;
  1510. a =>
  1511. a
  1512. ? () => {
  1513. a;
  1514. }
  1515. : () => {
  1516. a;
  1517. };
  1518. a => (a ? a : a);
  1519. a =>
  1520. a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a;
  1521. `;
  1522. exports[`test.js 1`] = `
  1523. const obj0 = conditionIsTruthy ? shortThing : otherShortThing
  1524. const obj1 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : shortThing
  1525. const obj2 = conditionIsTruthy ? shortThing : { some: 'long', object: 'with', lots: 'of', stuff }
  1526. const obj3 = conditionIsTruthy ? { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff } : shortThing
  1527. const obj4 = conditionIsTruthy ? shortThing : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1528. const obj5 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1529. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1530. const obj0 = conditionIsTruthy ? shortThing : otherShortThing;
  1531. const obj1 = conditionIsTruthy
  1532. ? { some: "long", object: "with", lots: "of", stuff }
  1533. : shortThing;
  1534. const obj2 = conditionIsTruthy
  1535. ? shortThing
  1536. : { some: "long", object: "with", lots: "of", stuff };
  1537. const obj3 = conditionIsTruthy
  1538. ? {
  1539. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1540. object: "with",
  1541. lots: "of",
  1542. stuff
  1543. }
  1544. : shortThing;
  1545. const obj4 = conditionIsTruthy
  1546. ? shortThing
  1547. : {
  1548. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1549. object: "with",
  1550. lots: "of",
  1551. stuff
  1552. };
  1553. const obj5 = conditionIsTruthy
  1554. ? { some: "long", object: "with", lots: "of", stuff }
  1555. : {
  1556. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1557. object: "with",
  1558. lots: "of",
  1559. stuff
  1560. };
  1561. `;
  1562. exports[`test.js 2`] = `
  1563. const obj0 = conditionIsTruthy ? shortThing : otherShortThing
  1564. const obj1 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : shortThing
  1565. const obj2 = conditionIsTruthy ? shortThing : { some: 'long', object: 'with', lots: 'of', stuff }
  1566. const obj3 = conditionIsTruthy ? { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff } : shortThing
  1567. const obj4 = conditionIsTruthy ? shortThing : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1568. const obj5 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1569. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1570. const obj0 = conditionIsTruthy ? shortThing : otherShortThing;
  1571. const obj1 = conditionIsTruthy
  1572. ? { some: "long", object: "with", lots: "of", stuff }
  1573. : shortThing;
  1574. const obj2 = conditionIsTruthy
  1575. ? shortThing
  1576. : { some: "long", object: "with", lots: "of", stuff };
  1577. const obj3 = conditionIsTruthy
  1578. ? {
  1579. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1580. object: "with",
  1581. lots: "of",
  1582. stuff
  1583. }
  1584. : shortThing;
  1585. const obj4 = conditionIsTruthy
  1586. ? shortThing
  1587. : {
  1588. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1589. object: "with",
  1590. lots: "of",
  1591. stuff
  1592. };
  1593. const obj5 = conditionIsTruthy
  1594. ? { some: "long", object: "with", lots: "of", stuff }
  1595. : {
  1596. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1597. object: "with",
  1598. lots: "of",
  1599. stuff
  1600. };
  1601. `;
  1602. exports[`test.js 3`] = `
  1603. const obj0 = conditionIsTruthy ? shortThing : otherShortThing
  1604. const obj1 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : shortThing
  1605. const obj2 = conditionIsTruthy ? shortThing : { some: 'long', object: 'with', lots: 'of', stuff }
  1606. const obj3 = conditionIsTruthy ? { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff } : shortThing
  1607. const obj4 = conditionIsTruthy ? shortThing : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1608. const obj5 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1609. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1610. const obj0 = conditionIsTruthy ? shortThing : otherShortThing;
  1611. const obj1 = conditionIsTruthy
  1612. ? { some: "long", object: "with", lots: "of", stuff }
  1613. : shortThing;
  1614. const obj2 = conditionIsTruthy
  1615. ? shortThing
  1616. : { some: "long", object: "with", lots: "of", stuff };
  1617. const obj3 = conditionIsTruthy
  1618. ? {
  1619. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1620. object: "with",
  1621. lots: "of",
  1622. stuff
  1623. }
  1624. : shortThing;
  1625. const obj4 = conditionIsTruthy
  1626. ? shortThing
  1627. : {
  1628. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1629. object: "with",
  1630. lots: "of",
  1631. stuff
  1632. };
  1633. const obj5 = conditionIsTruthy
  1634. ? { some: "long", object: "with", lots: "of", stuff }
  1635. : {
  1636. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1637. object: "with",
  1638. lots: "of",
  1639. stuff
  1640. };
  1641. `;
  1642. exports[`test.js 4`] = `
  1643. const obj0 = conditionIsTruthy ? shortThing : otherShortThing
  1644. const obj1 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : shortThing
  1645. const obj2 = conditionIsTruthy ? shortThing : { some: 'long', object: 'with', lots: 'of', stuff }
  1646. const obj3 = conditionIsTruthy ? { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff } : shortThing
  1647. const obj4 = conditionIsTruthy ? shortThing : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1648. const obj5 = conditionIsTruthy ? { some: 'long', object: 'with', lots: 'of', stuff } : { some: 'eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger', object: 'with', lots: 'of', stuff }
  1649. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1650. const obj0 = conditionIsTruthy ? shortThing : otherShortThing;
  1651. const obj1 = conditionIsTruthy
  1652. ? { some: "long", object: "with", lots: "of", stuff }
  1653. : shortThing;
  1654. const obj2 = conditionIsTruthy
  1655. ? shortThing
  1656. : { some: "long", object: "with", lots: "of", stuff };
  1657. const obj3 = conditionIsTruthy
  1658. ? {
  1659. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1660. object: "with",
  1661. lots: "of",
  1662. stuff
  1663. }
  1664. : shortThing;
  1665. const obj4 = conditionIsTruthy
  1666. ? shortThing
  1667. : {
  1668. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1669. object: "with",
  1670. lots: "of",
  1671. stuff
  1672. };
  1673. const obj5 = conditionIsTruthy
  1674. ? { some: "long", object: "with", lots: "of", stuff }
  1675. : {
  1676. some: "eeeeeeeeeeeeven looooooooooooooooooooooooooooooonger",
  1677. object: "with",
  1678. lots: "of",
  1679. stuff
  1680. };
  1681. `;