Skip to content

Commit f2fa522

Browse files
refactor: switch off position for remark, it is reduce size of tests and check on position (#1369)
1 parent 061b906 commit f2fa522

File tree

11 files changed

+279
-14183
lines changed

11 files changed

+279
-14183
lines changed

__tests__/__snapshots__/bin.js.snap

Lines changed: 0 additions & 264 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,51 +1563,13 @@ Array [
15631563
Object {
15641564
"children": Array [
15651565
Object {
1566-
"position": Object {
1567-
"end": Object {
1568-
"column": 19,
1569-
"line": 1,
1570-
"offset": 18,
1571-
},
1572-
"indent": Array [],
1573-
"start": Object {
1574-
"column": 1,
1575-
"line": 1,
1576-
"offset": 0,
1577-
},
1578-
},
15791566
"type": "text",
15801567
"value": "Bananas are yellow",
15811568
},
15821569
],
1583-
"position": Object {
1584-
"end": Object {
1585-
"column": 19,
1586-
"line": 1,
1587-
"offset": 18,
1588-
},
1589-
"indent": Array [],
1590-
"start": Object {
1591-
"column": 1,
1592-
"line": 1,
1593-
"offset": 0,
1594-
},
1595-
},
15961570
"type": "paragraph",
15971571
},
15981572
],
1599-
"position": Object {
1600-
"end": Object {
1601-
"column": 19,
1602-
"line": 1,
1603-
"offset": 18,
1604-
},
1605-
"start": Object {
1606-
"column": 1,
1607-
"line": 1,
1608-
"offset": 0,
1609-
},
1610-
},
16111573
"type": "root",
16121574
},
16131575
"examples": Array [],
@@ -1665,51 +1627,13 @@ Array [
16651627
Object {
16661628
"children": Array [
16671629
Object {
1668-
"position": Object {
1669-
"end": Object {
1670-
"column": 20,
1671-
"line": 1,
1672-
"offset": 19,
1673-
},
1674-
"indent": Array [],
1675-
"start": Object {
1676-
"column": 1,
1677-
"line": 1,
1678-
"offset": 0,
1679-
},
1680-
},
16811630
"type": "text",
16821631
"value": "Carrots are awesome",
16831632
},
16841633
],
1685-
"position": Object {
1686-
"end": Object {
1687-
"column": 20,
1688-
"line": 1,
1689-
"offset": 19,
1690-
},
1691-
"indent": Array [],
1692-
"start": Object {
1693-
"column": 1,
1694-
"line": 1,
1695-
"offset": 0,
1696-
},
1697-
},
16981634
"type": "paragraph",
16991635
},
17001636
],
1701-
"position": Object {
1702-
"end": Object {
1703-
"column": 20,
1704-
"line": 1,
1705-
"offset": 19,
1706-
},
1707-
"start": Object {
1708-
"column": 1,
1709-
"line": 1,
1710-
"offset": 0,
1711-
},
1712-
},
17131637
"type": "root",
17141638
},
17151639
"examples": Array [],
@@ -1767,51 +1691,13 @@ Array [
17671691
Object {
17681692
"children": Array [
17691693
Object {
1770-
"position": Object {
1771-
"end": Object {
1772-
"column": 15,
1773-
"line": 1,
1774-
"offset": 14,
1775-
},
1776-
"indent": Array [],
1777-
"start": Object {
1778-
"column": 1,
1779-
"line": 1,
1780-
"offset": 0,
1781-
},
1782-
},
17831694
"type": "text",
17841695
"value": "Apples are red",
17851696
},
17861697
],
1787-
"position": Object {
1788-
"end": Object {
1789-
"column": 15,
1790-
"line": 1,
1791-
"offset": 14,
1792-
},
1793-
"indent": Array [],
1794-
"start": Object {
1795-
"column": 1,
1796-
"line": 1,
1797-
"offset": 0,
1798-
},
1799-
},
18001698
"type": "paragraph",
18011699
},
18021700
],
1803-
"position": Object {
1804-
"end": Object {
1805-
"column": 15,
1806-
"line": 1,
1807-
"offset": 14,
1808-
},
1809-
"start": Object {
1810-
"column": 1,
1811-
"line": 1,
1812-
"offset": 0,
1813-
},
1814-
},
18151701
"type": "root",
18161702
},
18171703
"examples": Array [],
@@ -2110,51 +1996,13 @@ Array [
21101996
Object {
21111997
"children": Array [
21121998
Object {
2113-
"position": Object {
2114-
"end": Object {
2115-
"column": 5,
2116-
"line": 1,
2117-
"offset": 4,
2118-
},
2119-
"indent": Array [],
2120-
"start": Object {
2121-
"column": 1,
2122-
"line": 1,
2123-
"offset": 0,
2124-
},
2125-
},
21261999
"type": "text",
21272000
"value": "test",
21282001
},
21292002
],
2130-
"position": Object {
2131-
"end": Object {
2132-
"column": 5,
2133-
"line": 1,
2134-
"offset": 4,
2135-
},
2136-
"indent": Array [],
2137-
"start": Object {
2138-
"column": 1,
2139-
"line": 1,
2140-
"offset": 0,
2141-
},
2142-
},
21432003
"type": "paragraph",
21442004
},
21452005
],
2146-
"position": Object {
2147-
"end": Object {
2148-
"column": 5,
2149-
"line": 1,
2150-
"offset": 4,
2151-
},
2152-
"start": Object {
2153-
"column": 1,
2154-
"line": 1,
2155-
"offset": 0,
2156-
},
2157-
},
21582006
"type": "root",
21592007
},
21602008
"examples": Array [],
@@ -2190,18 +2038,6 @@ Array [
21902038
Object {
21912039
"description": Object {
21922040
"children": Array [],
2193-
"position": Object {
2194-
"end": Object {
2195-
"column": 1,
2196-
"line": 1,
2197-
"offset": 0,
2198-
},
2199-
"start": Object {
2200-
"column": 1,
2201-
"line": 1,
2202-
"offset": 0,
2203-
},
2204-
},
22052041
"type": "root",
22062042
},
22072043
"title": "returns",
@@ -2251,51 +2087,13 @@ Array [
22512087
Object {
22522088
"children": Array [
22532089
Object {
2254-
"position": Object {
2255-
"end": Object {
2256-
"column": 5,
2257-
"line": 1,
2258-
"offset": 4,
2259-
},
2260-
"indent": Array [],
2261-
"start": Object {
2262-
"column": 1,
2263-
"line": 1,
2264-
"offset": 0,
2265-
},
2266-
},
22672090
"type": "text",
22682091
"value": "test",
22692092
},
22702093
],
2271-
"position": Object {
2272-
"end": Object {
2273-
"column": 5,
2274-
"line": 1,
2275-
"offset": 4,
2276-
},
2277-
"indent": Array [],
2278-
"start": Object {
2279-
"column": 1,
2280-
"line": 1,
2281-
"offset": 0,
2282-
},
2283-
},
22842094
"type": "paragraph",
22852095
},
22862096
],
2287-
"position": Object {
2288-
"end": Object {
2289-
"column": 5,
2290-
"line": 1,
2291-
"offset": 4,
2292-
},
2293-
"start": Object {
2294-
"column": 1,
2295-
"line": 1,
2296-
"offset": 0,
2297-
},
2298-
},
22992097
"type": "root",
23002098
},
23012099
"examples": Array [],
@@ -2331,18 +2129,6 @@ Array [
23312129
Object {
23322130
"description": Object {
23332131
"children": Array [],
2334-
"position": Object {
2335-
"end": Object {
2336-
"column": 1,
2337-
"line": 1,
2338-
"offset": 0,
2339-
},
2340-
"start": Object {
2341-
"column": 1,
2342-
"line": 1,
2343-
"offset": 0,
2344-
},
2345-
},
23462132
"type": "root",
23472133
},
23482134
"title": "returns",
@@ -2387,51 +2173,13 @@ Array [
23872173
Object {
23882174
"children": Array [
23892175
Object {
2390-
"position": Object {
2391-
"end": Object {
2392-
"column": 5,
2393-
"line": 1,
2394-
"offset": 4,
2395-
},
2396-
"indent": Array [],
2397-
"start": Object {
2398-
"column": 1,
2399-
"line": 1,
2400-
"offset": 0,
2401-
},
2402-
},
24032176
"type": "text",
24042177
"value": "test",
24052178
},
24062179
],
2407-
"position": Object {
2408-
"end": Object {
2409-
"column": 5,
2410-
"line": 1,
2411-
"offset": 4,
2412-
},
2413-
"indent": Array [],
2414-
"start": Object {
2415-
"column": 1,
2416-
"line": 1,
2417-
"offset": 0,
2418-
},
2419-
},
24202180
"type": "paragraph",
24212181
},
24222182
],
2423-
"position": Object {
2424-
"end": Object {
2425-
"column": 5,
2426-
"line": 1,
2427-
"offset": 4,
2428-
},
2429-
"start": Object {
2430-
"column": 1,
2431-
"line": 1,
2432-
"offset": 0,
2433-
},
2434-
},
24352183
"type": "root",
24362184
},
24372185
"examples": Array [],
@@ -2467,18 +2215,6 @@ Array [
24672215
Object {
24682216
"description": Object {
24692217
"children": Array [],
2470-
"position": Object {
2471-
"end": Object {
2472-
"column": 1,
2473-
"line": 1,
2474-
"offset": 0,
2475-
},
2476-
"start": Object {
2477-
"column": 1,
2478-
"line": 1,
2479-
"offset": 0,
2480-
},
2481-
},
24822218
"type": "root",
24832219
},
24842220
"title": "returns",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy